package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.exception.Assert;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.service.biz.bff.MessageService;
import com.sg.service.biz.bff.nb.NbMessage;
import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrbff.common.dto.TreeNode;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.*;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class MessageServiceImpl implements MessageService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.framework.MessageService fwCompMessageClient;
    @Resource
    com.sg.service.biz.framework.UserService fwBaseUserClient;

    @Resource
    com.sg.service.biz.component.TemplateEngineService fwCompTemplateEngineClient;
    @Resource
    com.sg.service.biz.framework.MemberService fwBaseMemberClient;
    @Resource
    com.sg.service.biz.component.InterfaceModeService fwCompInterfaceModeClient;

    @Resource
    com.sg.service.biz.framework.BaseService fwBaseBaseClient;
    @Resource
    com.sg.service.biz.app.MessageService fwAppMessageClient;
    @Resource
    com.sg.service.biz.framework.MessageService fwBaseMessageClient;
    @Resource
    NbMessage nbMessage;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;

    @Resource
    com.sg.service.biz.app.StandardDataService fwAppStandardDataClient;
    @Resource
    com.sg.service.biz.app.VirtualOrgService fwAppVirtualOrgClient;
    @Resource
    com.sg.service.biz.app.DataSetSingleEntryService fwAppDataSetSingleEntryClient;
    @Resource
    com.sg.service.biz.app.DivineDataService fwAppDivineDataClient;
    @Resource
    com.sg.service.biz.app.InterfaceModeService fwAppInterfaceModeClient;

    /**
     * B2查询个人消息通知列表[4038]
     * gen by moon at 12/6/2023, 7:53:34 PM
     */
    @Trace(operationName = "B2查询个人消息通知列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryUserNoticeListRespDto queryUserNoticeList(BffQueryUserNoticeListReqDto reqDto) {


        QueryUserNoticeListRespDto queryUserNoticeListRespDto_1 = null;
        ImplementCountNumberDataSetsComRespDto implementCountNumberDataSetsComRespDto_1 = null;
//步骤0: D2-5查询个人消息通知列表 - queryUserNoticeList
        QueryUserNoticeListRespDto queryUserNoticeListRespDto = null;
        QueryUserNoticeListReqDto queryUserNoticeListReqDto = new QueryUserNoticeListReqDto();
        if (reqDto != null) {
            queryUserNoticeListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:992259_1
            queryUserNoticeListReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:992260_1
            queryUserNoticeListReqDto.setMessageImportantLevel(reqDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:948483_1
            queryUserNoticeListReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:952466_1
            queryUserNoticeListReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:990926_1
            queryUserNoticeListReqDto.setIsRead(reqDto.getIsRead());//SimpleFieldAssign//sourceId:967850_1
        }

        /*D2-5查询个人消息通知列表[3988]   */

        queryUserNoticeListRespDto = fwCompMessageClient.queryUserNoticeList(queryUserNoticeListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryUserNoticeListRespDto_1 = queryUserNoticeListRespDto;

//步骤1: D2-执行统计数据集条数服务(公共) - implementCountNumberDataSetsCom
        ImplementCountNumberDataSetsComRespDto implementCountNumberDataSetsComRespDto = null;
        if (queryUserNoticeListRespDto != null) {
            ImplementCountNumberDataSetsComReqDto implementCountNumberDataSetsComReqDto = new ImplementCountNumberDataSetsComReqDto();
            if (queryUserNoticeListRespDto != null && queryUserNoticeListRespDto.getMemberMsgReceiveList() != null && !CollectionUtil.isEmpty(queryUserNoticeListRespDto.getMemberMsgReceiveList())) {
                implementCountNumberDataSetsComReqDto.setCountNumberDataSetsList(//objList-to-objLists
                        queryUserNoticeListRespDto.getMemberMsgReceiveList().stream().map(item -> {
                            CountNumberDataSetsDto elm = new CountNumberDataSetsDto();
                            if (item != null) {
                                elm.setCommPrimaryKey(item.getMemberMessageId());//SimpleFieldAssign//sourceId:213508_2
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1004311_1
            }

            /*D2-执行统计数据集条数服务(公共)[5166]   */

            implementCountNumberDataSetsComRespDto = fwCompInterfaceModeClient.implementCountNumberDataSetsCom(implementCountNumberDataSetsComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementCountNumberDataSetsComRespDto_1 = implementCountNumberDataSetsComRespDto;
        }

        BffQueryUserNoticeListRespDto retData = new BffQueryUserNoticeListRespDto();
        if (queryUserNoticeListRespDto_1 != null) {
            retData.setUserNoticeList(queryUserNoticeListRespDto_1.getMemberMsgReceiveList().stream().map(item -> BeanUtil.toBean(item, BffUserNoticeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:218007_1
        }
        if (implementCountNumberDataSetsComRespDto_1 != null) {
            retData.setOutputNum(implementCountNumberDataSetsComRespDto_1.getOutputNum());//SimpleFieldAssign//sourceId:1004313_1
        }


        retData.setPageNum(queryUserNoticeListRespDto.getPageNum());
        retData.setPageSize(queryUserNoticeListRespDto.getPageSize());
        retData.setTotal(queryUserNoticeListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryUserNoticeListRespDto.getTotalNum()) / Double.valueOf(queryUserNoticeListRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B2更新消息已读[4036]
     * gen by moon at 1/22/2024, 6:28:45 PM
     */
    @Trace(operationName = "B2更新消息已读")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffRefreshMessageIsReadRespDto refreshMessageIsRead(BffRefreshMessageIsReadReqDto reqDto) {


        //virtualUsage D3执行强提醒消息已读并发上锁(公共)  59973
        ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto = null;
        ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto = new ImplementConcurrentBehaviorThemeLockComReqDto();
        implementConcurrentBehaviorThemeLockComReqDto.setBehaviorThemeLockCode("STRONG_REMINDER_MESSAGE_IS_READ_SWIPES");//sourceId:1494276_1_59973
        implementConcurrentBehaviorThemeLockComReqDto.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1494277_1_59973
        implementConcurrentBehaviorThemeLockComReqDto.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1494281_1_59973
        implementConcurrentBehaviorThemeLockComReqDto.setTimeUnitType("MINUTES");//sourceId:1494282_1_59973
        implementConcurrentBehaviorThemeLockComReqDto.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1494284_1_59973
        implementConcurrentBehaviorThemeLockComReqDto.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1494283_1_59973
        if (reqDto != null) {
            implementConcurrentBehaviorThemeLockComReqDto.setCustomField1(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1494278_1_59973
        }

        /*D3执行强提醒消息已读并发上锁(公共)[8296]   */
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getBehaviorThemeLockCode(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-行为主题锁不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getCommPrimaryKey(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-通用主键ID不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getCustomField1(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-自定义字段1不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getDuration(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-锁定时长不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getTimeUnitType(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-时间单位类型不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getHandlingMethodConcurrentLockFailure(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-并发上锁失败处理方式不能为空", false);
        Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getPreventConcurrentLockingUnlocking(), "B2更新消息已读-D3执行强提醒消息已读并发上锁(公共)-防并发上锁or解锁不能为空", false);
        implementConcurrentBehaviorThemeLockComRespDto = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((implementConcurrentBehaviorThemeLockComRespDto != null && implementConcurrentBehaviorThemeLockComRespDto.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
            //if(D3执行强提醒消息已读并发上锁(公共).防并发上锁情况 等于 空上锁成功)  59974

            RefreshMessageIsReadMinusOneComRespDto refreshMessageIsReadMinusOneComRespDto = null;
            RefreshMessageIsReadMinusOneComReqDto refreshMessageIsReadMinusOneComReqDto = new RefreshMessageIsReadMinusOneComReqDto();
            refreshMessageIsReadMinusOneComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1174972_1_59975
            refreshMessageIsReadMinusOneComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1174973_1_59975
            refreshMessageIsReadMinusOneComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1482216_1_59975
            if (reqDto != null) {
                refreshMessageIsReadMinusOneComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:975828_1_59975
                refreshMessageIsReadMinusOneComReqDto.setMemberMessageId(reqDto.getMemberMessageId());//SimpleFieldAssign//sourceId:975829_1_59975
                refreshMessageIsReadMinusOneComReqDto.setMessageLocationRemindId(reqDto.getMessageLocationRemindId());//SimpleFieldAssign//sourceId:975830_1_59975
            }

            /*D2更新消息已读数量减一(公共)[6926]   */
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getMessageLocationTypeCode(), "B2更新消息已读-D2更新消息已读数量减一(公共)-消息位置标识不能为空", false);
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getMemberMessageId(), "B2更新消息已读-D2更新消息已读数量减一(公共)-成员接收消息ID不能为空", false);
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getMessageLocationRemindId(), "B2更新消息已读-D2更新消息已读数量减一(公共)-消息数量ID不能为空", false);
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getOriginalRoleMemberId(), "B2更新消息已读-D2更新消息已读数量减一(公共)-归属身份人员ID不能为空", false);
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getUserId(), "B2更新消息已读-D2更新消息已读数量减一(公共)-归属个人账号ID不能为空", false);
            Assert.isNull(refreshMessageIsReadMinusOneComReqDto.getSpaceId(), "B2更新消息已读-D2更新消息已读数量减一(公共)-创建于空间ID不能为空", false);
            refreshMessageIsReadMinusOneComRespDto = fwCompMessageClient.refreshMessageIsReadMinusOneCom(refreshMessageIsReadMinusOneComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_2 = null;
            ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_1 = new ImplementConcurrentBehaviorThemeLockComReqDto();
            implementConcurrentBehaviorThemeLockComReqDto_1.setBehaviorThemeLockCode("STRONG_REMINDER_MESSAGE_IS_READ_SWIPES");//sourceId:1494298_1_59976
            implementConcurrentBehaviorThemeLockComReqDto_1.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1494299_1_59976
            implementConcurrentBehaviorThemeLockComReqDto_1.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1494301_1_59976
            implementConcurrentBehaviorThemeLockComReqDto_1.setWhetherUnlockBulk("FALSE");//sourceId:1494302_1_59976
            if (reqDto != null) {
                implementConcurrentBehaviorThemeLockComReqDto_1.setCustomField1(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1494300_1_59976
            }

            /*D3执行强提醒消息已读并发解锁(公共)[8296]   */
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getBehaviorThemeLockCode(), "B2更新消息已读-D3执行强提醒消息已读并发解锁(公共)-行为主题锁不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getCommPrimaryKey(), "B2更新消息已读-D3执行强提醒消息已读并发解锁(公共)-通用主键ID不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getCustomField1(), "B2更新消息已读-D3执行强提醒消息已读并发解锁(公共)-自定义字段1不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getPreventConcurrentLockingUnlocking(), "B2更新消息已读-D3执行强提醒消息已读并发解锁(公共)-防并发上锁or解锁不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getWhetherUnlockBulk(), "B2更新消息已读-D3执行强提醒消息已读并发解锁(公共)-是否批量解锁不能为空", false);
            implementConcurrentBehaviorThemeLockComRespDto_2 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        BffRefreshMessageIsReadRespDto retData = new BffRefreshMessageIsReadRespDto();


        return retData;
    }

    /**
     * B2查询消息数量详情[4037]
     * gen by moon at 8/5/2023, 8:38:01 PM
     */
    @Trace(operationName = "B2查询消息数量详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMessageNumDetailRespDto queryMessageNumDetail(BffQueryMessageNumDetailReqDto reqDto) {


        QueryMessageNumDetailRespDto queryMessageNumDetailRespDto_1 = null;
//步骤0: D2-5查询消息数量 - queryMessageNumDetail
        QueryMessageNumDetailRespDto queryMessageNumDetailRespDto = null;
        QueryMessageNumDetailReqDto queryMessageNumDetailReqDto = new QueryMessageNumDetailReqDto();
        queryMessageNumDetailReqDto.setMessageLocationTypeCode("TENANT_USER_CENTER");//CUSTOM_CONVENTION//sourceId:218017_1

        /*D2-5查询消息数量[4030]   */
        Assert.isNull(queryMessageNumDetailReqDto.getMessageLocationTypeCode(), "B2查询消息数量详情-D2-5查询消息数量-消息位置标识不能为空", false);
        queryMessageNumDetailRespDto = fwCompMessageClient.queryMessageNumDetail(queryMessageNumDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMessageNumDetailRespDto_1 = queryMessageNumDetailRespDto;

        BffQueryMessageNumDetailRespDto retData = new BffQueryMessageNumDetailRespDto();
        if (queryMessageNumDetailRespDto_1 != null) {
            retData.setMessagePromptType(queryMessageNumDetailRespDto_1.getMessagePromptType());//SimpleFieldAssign//sourceId:218022_1
            retData.setMessageNum(queryMessageNumDetailRespDto_1.getMessageNum());//SimpleFieldAssign//sourceId:218023_1
        }


        return retData;
    }

    /**
     * B2查我的消息提醒虚拟形象详情[6801]
     * gen by moon at 1/15/2024, 3:06:52 AM
     */
    @Trace(operationName = "B2查我的消息提醒虚拟形象详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMeMessageVirtualImageDetailRespDto queryMeMessageVirtualImageDetail(BffQueryMeMessageVirtualImageDetailReqDto reqDto) {


        QueryMeMessageVirtualImageDetailComRespDto queryMeMessageVirtualImageDetailComRespDto_1 = null;
        QueryVirtualImageDetailComRespDto queryVirtualImageDetailComRespDto_1 = null;
//virtualUsage D2查询我的消息提醒形象详情(公共)  59290
        QueryMeMessageVirtualImageDetailComRespDto queryMeMessageVirtualImageDetailComRespDto = null;
        QueryMeMessageVirtualImageDetailComReqDto queryMeMessageVirtualImageDetailComReqDto = new QueryMeMessageVirtualImageDetailComReqDto();
        queryMeMessageVirtualImageDetailComReqDto.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1444621_1_59290
        if (reqDto != null) {
            queryMeMessageVirtualImageDetailComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:949770_1_59290
            queryMeMessageVirtualImageDetailComReqDto.setVirtualImageViewType(reqDto.getVirtualImageViewType());//SimpleFieldAssign//sourceId:1479333_1_59290
            queryMeMessageVirtualImageDetailComReqDto.setSceneTypeCode(reqDto.getSceneTypeCode());//SimpleFieldAssign//sourceId:949771_1_59290
            queryMeMessageVirtualImageDetailComReqDto.setSceneSubTypeCode(reqDto.getSceneSubTypeCode());//SimpleFieldAssign//sourceId:1004752_1_59290
        }

        /*D2查询我的消息提醒形象详情(公共)[6800]   */
        Assert.isNull(queryMeMessageVirtualImageDetailComReqDto.getOriginalRoleMemberId(), "B2查我的消息提醒虚拟形象详情-D2查询我的消息提醒形象详情(公共)-身份人员ID不能为空", false);
        Assert.isNull(queryMeMessageVirtualImageDetailComReqDto.getVirtualImageViewType(), "B2查我的消息提醒虚拟形象详情-D2查询我的消息提醒形象详情(公共)-虚拟形象展示用途类型不能为空", false);
        Assert.isNull(queryMeMessageVirtualImageDetailComReqDto.getSceneTypeCode(), "B2查我的消息提醒虚拟形象详情-D2查询我的消息提醒形象详情(公共)-冗余使用大场景类型编码不能为空", false);
        Assert.isNull(queryMeMessageVirtualImageDetailComReqDto.getSceneSubTypeCode(), "B2查我的消息提醒虚拟形象详情-D2查询我的消息提醒形象详情(公共)-冗余使用子场景类型编码不能为空", false);
        Assert.isNull(queryMeMessageVirtualImageDetailComReqDto.getResultAspObjId(), "B2查我的消息提醒虚拟形象详情-D2查询我的消息提醒形象详情(公共)-开通对象ID不能为空", false);
        queryMeMessageVirtualImageDetailComRespDto = fwCompMessageClient.queryMeMessageVirtualImageDetailCom(queryMeMessageVirtualImageDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMeMessageVirtualImageDetailComRespDto_1 = queryMeMessageVirtualImageDetailComRespDto;
        if ((queryMeMessageVirtualImageDetailComRespDto != null && queryMeMessageVirtualImageDetailComRespDto.getVirtualImageCode() != null)) {
            //if(D2查询我的消息提醒形象详情(公共).虚拟形象标识 值不等于空 )  59291

            QueryVirtualImageDetailComRespDto queryVirtualImageDetailComRespDto = null;
            if (queryMeMessageVirtualImageDetailComRespDto != null) {
                QueryVirtualImageDetailComReqDto queryVirtualImageDetailComReqDto = new QueryVirtualImageDetailComReqDto();
                if (reqDto != null) {
                    queryVirtualImageDetailComReqDto.setSceneTypeCode(reqDto.getSceneTypeCode());//SimpleFieldAssign//sourceId:1444824_1_59292
                    queryVirtualImageDetailComReqDto.setTheCurrentVirtualAvatarSubScene(reqDto.getTheCurrentVirtualAvatarSubScene());//SimpleFieldAssign//sourceId:1444815_1_59292
                    queryVirtualImageDetailComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1444826_1_59292
                }
                if (queryMeMessageVirtualImageDetailComRespDto != null) {
                    queryVirtualImageDetailComReqDto.setVirtualImageViewType(queryMeMessageVirtualImageDetailComRespDto.getVirtualImageViewType());//SimpleFieldAssign//sourceId:1444817_1_59292
                    queryVirtualImageDetailComReqDto.setVirtualImageCode(queryMeMessageVirtualImageDetailComRespDto.getVirtualImageCode());//SimpleFieldAssign//sourceId:1444816_1_59292
                    queryVirtualImageDetailComReqDto.setIsCustomImage(queryMeMessageVirtualImageDetailComRespDto.getIsCustomImage());//SimpleFieldAssign//sourceId:1444831_1_59292
                }

                /*D2查当前选用的虚拟形象(公共)[7356]   */
                Assert.isNull(queryVirtualImageDetailComReqDto.getSceneTypeCode(), "B2查我的消息提醒虚拟形象详情-D2查当前选用的虚拟形象(公共)-使用大场景类型编码不能为空", false);
                Assert.isNull(queryVirtualImageDetailComReqDto.getTheCurrentVirtualAvatarSubScene(), "B2查我的消息提醒虚拟形象详情-D2查当前选用的虚拟形象(公共)-当前虚拟形象子场景不能为空", false);
                Assert.isNull(queryVirtualImageDetailComReqDto.getOriginalRoleMemberId(), "B2查我的消息提醒虚拟形象详情-D2查当前选用的虚拟形象(公共)-身份人员ID不能为空", false);
                queryVirtualImageDetailComRespDto = fwCompMessageClient.queryVirtualImageDetailCom(queryVirtualImageDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryVirtualImageDetailComRespDto_1 = queryVirtualImageDetailComRespDto;
            }
        }
        BffQueryMeMessageVirtualImageDetailRespDto retData = new BffQueryMeMessageVirtualImageDetailRespDto();
        if (queryMeMessageVirtualImageDetailComRespDto_1 != null) {
            retData.setVirtualImageId(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImageId());//SimpleFieldAssign//sourceId:1428072_1
            retData.setVirtualImageCode(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImageCode());//SimpleFieldAssign//sourceId:1428073_1
            retData.setVirtualImageName(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImageName());//SimpleFieldAssign//sourceId:949782_1
            retData.setVirtualImage(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImage());//SimpleFieldAssign//sourceId:949783_1
            retData.setVirtualImageDesc(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImageDesc());//SimpleFieldAssign//sourceId:949784_1
            retData.setCharacterClassicPhrase(queryMeMessageVirtualImageDetailComRespDto_1.getCharacterClassicPhrase());//SimpleFieldAssign//sourceId:949785_1
            retData.setIsCustomImage(queryMeMessageVirtualImageDetailComRespDto_1.getIsCustomImage());//SimpleFieldAssign//sourceId:949786_1
            retData.setOptionResultId(queryMeMessageVirtualImageDetailComRespDto_1.getOptionResultId());//SimpleFieldAssign//sourceId:1444827_1
            retData.setVirtualImageViewType(queryMeMessageVirtualImageDetailComRespDto_1.getVirtualImageViewType());//SimpleFieldAssign//sourceId:1102214_1
        }
        if (queryVirtualImageDetailComRespDto_1 != null) {
            retData.setCurrentVirtualImageId(queryVirtualImageDetailComRespDto_1.getVirtualImageId());//SimpleFieldAssign//sourceId:1444833_1
            retData.setCurrentVirtualImageCode(queryVirtualImageDetailComRespDto_1.getVirtualImageCode());//SimpleFieldAssign//sourceId:1444834_1
            retData.setCurrentVirtualImageName(queryVirtualImageDetailComRespDto_1.getVirtualImageName());//SimpleFieldAssign//sourceId:1444835_1
            retData.setCurrentVirtualImage(queryVirtualImageDetailComRespDto_1.getVirtualImage());//SimpleFieldAssign//sourceId:1444836_1
            retData.setCurrentVirtualImageDesc(queryVirtualImageDetailComRespDto_1.getVirtualImageDesc());//SimpleFieldAssign//sourceId:1444837_1
            retData.setCurrentCharacterClassicPhrase(queryVirtualImageDetailComRespDto_1.getCharacterClassicPhrase());//SimpleFieldAssign//sourceId:1444838_1
            retData.setCurrentIsCustomImage(queryVirtualImageDetailComRespDto_1.getIsCustomImage());//SimpleFieldAssign//sourceId:1444842_1
        }


        return retData;
    }

    /**
     * B2查询成员通道列表(边界)[7013]
     * gen by moon at 10/26/2023, 3:38:08 PM
     */
    @Trace(operationName = "B2查询成员通道列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMemberChannelListBorderRespDto queryMemberChannelListBorder(BffQueryMemberChannelListBorderReqDto reqDto) {


        QueryMemberChannelListComRespDto queryMemberChannelListComRespDto_1 = null;
//步骤0: D2查询成员通道列表(公共) - queryMemberChannelListCom
        QueryMemberChannelListComRespDto queryMemberChannelListComRespDto = null;
        QueryMemberChannelListComReqDto queryMemberChannelListComReqDto = new QueryMemberChannelListComReqDto();
        queryMemberChannelListComReqDto.setBorcScene("TOB_SCENE");//sourceId:991823_1
        queryMemberChannelListComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:990918_1
        queryMemberChannelListComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1191801_1
        queryMemberChannelListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:990920_1
        if (reqDto != null) {
            queryMemberChannelListComReqDto.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1191800_1
        }

        /*D2查询成员通道列表(公共)[7010]   */
        Assert.isNull(queryMemberChannelListComReqDto.getBorcScene(), "B2查询成员通道列表(边界)-D2查询成员通道列表(公共)-toB或toC场景不能为空", false);
        Assert.isNull(queryMemberChannelListComReqDto.getMsgChannelClassCode(), "B2查询成员通道列表(边界)-D2查询成员通道列表(公共)-消息使用通道类别不能为空", false);
        Assert.isNull(queryMemberChannelListComReqDto.getOriginalRoleMemberId(), "B2查询成员通道列表(边界)-D2查询成员通道列表(公共)-归属身份人员ID不能为空", false);
        Assert.isNull(queryMemberChannelListComReqDto.getUserId(), "B2查询成员通道列表(边界)-D2查询成员通道列表(公共)-归属个人账号ID不能为空", false);
        Assert.isNull(queryMemberChannelListComReqDto.getSpaceId(), "B2查询成员通道列表(边界)-D2查询成员通道列表(公共)-创建于空间ID不能为空", false);
        queryMemberChannelListComRespDto = fwCompMessageClient.queryMemberChannelListCom(queryMemberChannelListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMemberChannelListComRespDto_1 = queryMemberChannelListComRespDto;

        BffQueryMemberChannelListBorderRespDto retData = new BffQueryMemberChannelListBorderRespDto();
        if (queryMemberChannelListComRespDto_1 != null) {
            retData.setMemberChannelList(queryMemberChannelListComRespDto_1.getMemberChannelList().stream().map(item -> BeanUtil.toBean(item, BffMemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:990925_1
        }


        retData.setPageNum(queryMemberChannelListComRespDto.getPageNum());
        retData.setPageSize(queryMemberChannelListComRespDto.getPageSize());
        retData.setTotal(queryMemberChannelListComRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryMemberChannelListComRespDto.getTotalNum()) / Double.valueOf(queryMemberChannelListComRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B2删除成员消息接收(公共)[7044]
     * gen by moon at 10/26/2023, 11:22:36 PM
     */
    @Trace(operationName = "B2删除成员消息接收(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteMemberMsgReceiveComRespDto deleteMemberMsgReceiveCom(BffDeleteMemberMsgReceiveComReqDto reqDto) {


        //步骤0: D2删除成员消息接收 - deleteMemberMsgReceive
        DeleteMemberMsgReceiveRespDto deleteMemberMsgReceiveRespDto = null;
        DeleteMemberMsgReceiveReqDto deleteMemberMsgReceiveReqDto = new DeleteMemberMsgReceiveReqDto();
        if (reqDto != null) {
            deleteMemberMsgReceiveReqDto.setMemberMessageId(reqDto.getMemberMessageId());//SimpleFieldAssign//sourceId:1210559_1
            deleteMemberMsgReceiveReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:996667_1
        }

        /*D2删除成员消息接收[7043]   */
        Assert.isNull(deleteMemberMsgReceiveReqDto.getMemberMessageId(), "B2删除成员消息接收(公共)-D2删除成员消息接收-成员接收消息ID不能为空", false);
        Assert.isNull(deleteMemberMsgReceiveReqDto.getMemberChannelRelationId(), "B2删除成员消息接收(公共)-D2删除成员消息接收-成员通道关系ID不能为空", false);
        deleteMemberMsgReceiveRespDto = fwCompMessageClient.deleteMemberMsgReceive(deleteMemberMsgReceiveReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffDeleteMemberMsgReceiveComRespDto retData = new BffDeleteMemberMsgReceiveComRespDto();


        return retData;
    }

    /**
     * B2执行删除会话(公共)[7048]
     * gen by moon at 12/23/2023, 1:50:00 AM
     */
    @Trace(operationName = "B2执行删除会话(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementDeleteSessionComRespDto implementDeleteSessionCom(BffImplementDeleteSessionComReqDto reqDto) {


        DeleteMessageContentMemberComRespDto deleteMessageContentMemberComRespDto_1 = null;
//virtualUsage D1-2查询个人资料详情(公共)  48182
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
        queryUserInfoDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1107177_1_48182

        /*D1-2查询个人资料详情(公共)[408]   */
        Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B2执行删除会话(公共)-D1-2查询个人资料详情(公共)-账号不能为空", false);
        queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2生成“ xx ” 退出小岛  48183
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
            generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("ACTIVE_QUIT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1107180_1_48183
            if (queryUserInfoDetailComRespDto != null) {
                generateMessageSemanticInstanceComReqDto.setIdCardName(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1107181_1_48183
            }

            /*D2生成“ xx ” 退出小岛[7038]   */
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B2执行删除会话(公共)-D2生成“ xx ” 退出小岛-模板引擎标识不能为空", false);
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "B2执行删除会话(公共)-D2生成“ xx ” 退出小岛-真实姓名不能为空", false);
            generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2查询通道详情(公共)  48137
        QueryChannelDetailComRespDto queryChannelDetailComRespDto = null;
        QueryChannelDetailComReqDto queryChannelDetailComReqDto = new QueryChannelDetailComReqDto();
        queryChannelDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1105095_1_48137
        if (reqDto != null) {
            queryChannelDetailComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1105094_1_48137
        }

        /*D2查询通道详情(公共)[7101]   */
        Assert.isNull(queryChannelDetailComReqDto.getMessageChannelId(), "B2执行删除会话(公共)-D2查询通道详情(公共)-通道ID不能为空", false);
        Assert.isNull(queryChannelDetailComReqDto.getSpaceId(), "B2执行删除会话(公共)-D2查询通道详情(公共)-创建于空间ID不能为空", false);
        queryChannelDetailComRespDto = fwCompMessageClient.queryChannelDetailCom(queryChannelDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((queryChannelDetailComRespDto != null && queryChannelDetailComRespDto.getVirtualOrgId() != null)) {
            //if(D2查询通道详情(公共).归属虚拟组织ID 值不等于空 )  48138

            ImplementDeleteSessionComRespDto implementDeleteSessionComRespDto = null;
            if (queryUserInfoDetailComRespDto != null && generateMessageSemanticInstanceComRespDto != null) {
                ImplementDeleteSessionComReqDto implementDeleteSessionComReqDto = new ImplementDeleteSessionComReqDto();
                implementDeleteSessionComReqDto.setBorcScene("TOB_SCENE");//sourceId:1107185_1_48184
                implementDeleteSessionComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1107186_1_48184
                implementDeleteSessionComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1107187_1_48184
                implementDeleteSessionComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1113292_1_48184
                implementDeleteSessionComReqDto.setTureOrFalse("TRUE");//sourceId:1435769_1_48184
                if (reqDto != null) {
                    implementDeleteSessionComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1207312_1_48184
                    implementDeleteSessionComReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1107183_1_48184
                    implementDeleteSessionComReqDto.setIsSaveData(reqDto.getIsSaveData());//SimpleFieldAssign//sourceId:1107184_1_48184
                    implementDeleteSessionComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1107191_1_48184
                }
                if (queryUserInfoDetailComRespDto != null) {
                    implementDeleteSessionComReqDto.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1435771_1_48184
                    implementDeleteSessionComReqDto.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1435772_1_48184
                }
                if (generateMessageSemanticInstanceComRespDto != null) {
                    implementDeleteSessionComReqDto.setMessageContent(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1435770_1_48184
                }

                /*D2-执行删除会话(公共)[7045]   */
                Assert.isNull(implementDeleteSessionComReqDto.getMessageLocationTypeCode(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getMemberChannelRelationId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-成员通道关系ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getIsSaveData(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-是否退出保留不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getBorcScene(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-toB或toC场景不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getNameOfSender(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方姓名不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getSenderProfilePictureAddress(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方头像地址不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getSenderOriginalRoleMemberId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getSenderUserId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方账号ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getMessageChannelId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息通道ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getMessageContent(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息内容不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getOperateTime(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-操作时间不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto.getTureOrFalse(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-是否不能为空", false);
                implementDeleteSessionComRespDto = fwCompMessageClient.implementDeleteSessionCom(implementDeleteSessionComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            DeleteMessageContentMemberComRespDto deleteMessageContentMemberComRespDto = null;
            if (queryChannelDetailComRespDto != null) {
                DeleteMessageContentMemberComReqDto deleteMessageContentMemberComReqDto = new DeleteMessageContentMemberComReqDto();
                deleteMessageContentMemberComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1106403_1_48164
                if (queryChannelDetailComRespDto != null) {
                    deleteMessageContentMemberComReqDto.setVirtualOrgId(queryChannelDetailComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1106275_1_48164
                }

                /*D3-删除消息内容虚拟组织成员(公共)[7352]   */
                Assert.isNull(deleteMessageContentMemberComReqDto.getVirtualOrgId(), "B2执行删除会话(公共)-D3-删除消息内容虚拟组织成员(公共)-虚拟组织ID不能为空", false);
                Assert.isNull(deleteMessageContentMemberComReqDto.getOriginalRoleMemberId(), "B2执行删除会话(公共)-D3-删除消息内容虚拟组织成员(公共)-身份人员ID不能为空", false);
                deleteMessageContentMemberComRespDto = fwAppMessageClient.deleteMessageContentMemberCom(deleteMessageContentMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                deleteMessageContentMemberComRespDto_1 = deleteMessageContentMemberComRespDto;
            }
        } else if ((queryChannelDetailComRespDto != null && queryChannelDetailComRespDto.getVirtualOrgId() == null)) {
            //elseif(D2查询通道详情(公共).归属虚拟组织ID 值等于空 )  48139

            ImplementDeleteSessionComRespDto implementDeleteSessionComRespDto_1 = null;
            if (queryUserInfoDetailComRespDto != null) {
                ImplementDeleteSessionComReqDto implementDeleteSessionComReqDto_1 = new ImplementDeleteSessionComReqDto();
                implementDeleteSessionComReqDto_1.setBorcScene("TOB_SCENE");//sourceId:1107185_1_48186
                implementDeleteSessionComReqDto_1.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1107186_1_48186
                implementDeleteSessionComReqDto_1.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1107187_1_48186
                implementDeleteSessionComReqDto_1.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1113292_1_48186
                implementDeleteSessionComReqDto_1.setTureOrFalse("TRUE");//sourceId:1435769_1_48186
                if (reqDto != null) {
                    implementDeleteSessionComReqDto_1.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1207312_1_48186
                    implementDeleteSessionComReqDto_1.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1107183_1_48186
                    implementDeleteSessionComReqDto_1.setIsSaveData(reqDto.getIsSaveData());//SimpleFieldAssign//sourceId:1107184_1_48186
                    implementDeleteSessionComReqDto_1.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1107191_1_48186
                }
                if (queryUserInfoDetailComRespDto != null) {
                    implementDeleteSessionComReqDto_1.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1435771_1_48186
                    implementDeleteSessionComReqDto_1.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1435772_1_48186
                }

                /*D2-执行删除会话(公共)[7045]   */
                Assert.isNull(implementDeleteSessionComReqDto_1.getMessageLocationTypeCode(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getMemberChannelRelationId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-成员通道关系ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getIsSaveData(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-是否退出保留不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getBorcScene(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-toB或toC场景不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getNameOfSender(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方姓名不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getSenderProfilePictureAddress(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方头像地址不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getSenderOriginalRoleMemberId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getSenderUserId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-发送方账号ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getMessageChannelId(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息通道ID不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getMessageContent(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-消息内容不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getOperateTime(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-操作时间不能为空", false);
                Assert.isNull(implementDeleteSessionComReqDto_1.getTureOrFalse(), "B2执行删除会话(公共)-D2-执行删除会话(公共)-是否不能为空", false);
                implementDeleteSessionComRespDto_1 = fwCompMessageClient.implementDeleteSessionCom(implementDeleteSessionComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        BffImplementDeleteSessionComRespDto retData = new BffImplementDeleteSessionComRespDto();
        if (deleteMessageContentMemberComRespDto_1 != null) {
            retData.setCustomField(deleteMessageContentMemberComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1106352_1
        }


        return retData;
    }

    /**
     * B2执行多人退群(公共)[7053]
     * gen by moon at 8/15/2023, 8:53:34 PM
     */
    @Trace(operationName = "B2执行多人退群(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementNPeopleLeavingGroupComRespDto implementNPeopleLeavingGroupCom(BffImplementNPeopleLeavingGroupComReqDto reqDto) {


        //步骤0: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
        queryUserInfoDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:997970_1

        /*D1-2查询个人资料详情(公共)[408]   */
        Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B2执行多人退群(公共)-D1-2查询个人资料详情(公共)-账号不能为空", false);
        queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D2生成消息语义实例(公共) - generateMessageSemanticInstanceCom
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
            generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("KICK_OUT_MULT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:997983_1
            if (queryUserInfoDetailComRespDto != null) {
                generateMessageSemanticInstanceComReqDto.setIdCardName(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:997984_1
            }

            /*D2生成多人被“ xx ” 移出小岛  [7038]   */
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B2执行多人退群(公共)-D2生成多人被“ xx ” 移出小岛  -模板引擎标识不能为空", false);
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "B2执行多人退群(公共)-D2生成多人被“ xx ” 移出小岛  -真实姓名不能为空", false);
            generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤2: D2执行多人退群 - implementNPeopleLeavingGroup
        ImplementNPeopleLeavingGroupRespDto implementNPeopleLeavingGroupRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            ImplementNPeopleLeavingGroupReqDto implementNPeopleLeavingGroupReqDto = new ImplementNPeopleLeavingGroupReqDto();
            implementNPeopleLeavingGroupReqDto.setBorcScene("TOB_SCENE");//sourceId:998317_1
            implementNPeopleLeavingGroupReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:997936_1
            implementNPeopleLeavingGroupReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:997937_1
            implementNPeopleLeavingGroupReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112986_1
            if (reqDto != null) {
                implementNPeopleLeavingGroupReqDto.setNPeopleLeavingGroupList(reqDto.getNPeopleLeavingGroupList());//list-field-assign//sourceId:997887_1
                implementNPeopleLeavingGroupReqDto.setIsSaveData(reqDto.getIsSaveData());//SimpleFieldAssign//sourceId:997888_1
                implementNPeopleLeavingGroupReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:997941_1
                implementNPeopleLeavingGroupReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:997942_1
            }
            if (queryUserInfoDetailComRespDto != null) {
                implementNPeopleLeavingGroupReqDto.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:997938_1
                implementNPeopleLeavingGroupReqDto.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:997939_1
            }
            if (generateMessageSemanticInstanceComRespDto != null) {
                implementNPeopleLeavingGroupReqDto.setMessageContent(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:997940_1
            }

            /*D2执行多人退群[7050]   */
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getIsSaveData(), "B2执行多人退群(公共)-D2执行多人退群-是否退出保留不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getBorcScene(), "B2执行多人退群(公共)-D2执行多人退群-toB或toC场景不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getSenderOriginalRoleMemberId(), "B2执行多人退群(公共)-D2执行多人退群-发送方身份人员ID不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getSenderUserId(), "B2执行多人退群(公共)-D2执行多人退群-发送方账号ID不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getSenderProfilePictureAddress(), "B2执行多人退群(公共)-D2执行多人退群-发送方头像地址不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getNameOfSender(), "B2执行多人退群(公共)-D2执行多人退群-发送方姓名不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getMessageContent(), "B2执行多人退群(公共)-D2执行多人退群-消息内容不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getMessageChannelId(), "B2执行多人退群(公共)-D2执行多人退群-消息通道ID不能为空", false);
            Assert.isNull(implementNPeopleLeavingGroupReqDto.getOperateTime(), "B2执行多人退群(公共)-D2执行多人退群-操作时间不能为空", false);
            implementNPeopleLeavingGroupRespDto = fwCompMessageClient.implementNPeopleLeavingGroup(implementNPeopleLeavingGroupReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

        BffImplementNPeopleLeavingGroupComRespDto retData = new BffImplementNPeopleLeavingGroupComRespDto();


        return retData;
    }

    /**
     * B3执行群里拉人(公共)[7056]
     * gen by moon at 8/6/2023, 11:50:17 PM
     */
    @Trace(operationName = "B3执行群里拉人(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementGroupPullNPeopleComRespDto implementGroupPullNPeopleCom(BffImplementGroupPullNPeopleComReqDto reqDto) {


        //步骤0: D3执行群里拉人 - implementGroupPullNPeople
        ImplementGroupPullNPeopleRespDto implementGroupPullNPeopleRespDto = null;
        ImplementGroupPullNPeopleReqDto implementGroupPullNPeopleReqDto = new ImplementGroupPullNPeopleReqDto();
        if (reqDto != null && reqDto.getGroupPullNPeopleList() != null && !CollectionUtil.isEmpty(reqDto.getGroupPullNPeopleList())) {
            implementGroupPullNPeopleReqDto.setCoterieMemberList(reqDto.getGroupPullNPeopleList().stream().map(item -> BeanUtil.toBean(item, CoterieMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1103703_1
        }
        if (reqDto != null) {
            implementGroupPullNPeopleReqDto.setChannelId(reqDto.getChannelId());//SimpleFieldAssign//sourceId:1103702_1
        }

        /*D3执行群里拉人[7341]   */
        Assert.isNull(implementGroupPullNPeopleReqDto.getChannelId(), "B3执行群里拉人(公共)-D3执行群里拉人-通道ID不能为空", false);
        implementGroupPullNPeopleRespDto = fwAppMessageClient.implementGroupPullNPeople(implementGroupPullNPeopleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementGroupPullNPeopleComRespDto retData = new BffImplementGroupPullNPeopleComRespDto();


        return retData;
    }

    /**
     * B2执行第三方智能问答(公共)[7070]
     * gen by moon at 1/19/2024, 11:31:16 PM
     */
    @Trace(operationName = "B2执行第三方智能问答(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementThirdPartyIntelligentQAComRespDto implementThirdPartyIntelligentQACom(BffImplementThirdPartyIntelligentQAComReqDto reqDto) {


        //步骤0: D1-获取助手个人头像等信息(公共) - obtainChannelAndMemberInfoCom
        ObtainChannelAndMemberInfoComRespDto obtainChannelAndMemberInfoComRespDto = null;
        ObtainChannelAndMemberInfoComReqDto obtainChannelAndMemberInfoComReqDto = new ObtainChannelAndMemberInfoComReqDto();
        obtainChannelAndMemberInfoComReqDto.setUniqueSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1100931_1

        /*D1-获取助手信息[7321]   */
        Assert.isNull(obtainChannelAndMemberInfoComReqDto.getUniqueSpaceId(), "B2执行第三方智能问答(公共)-D1-获取助手信息-管理的空间ID不能为空", false);
        obtainChannelAndMemberInfoComRespDto = fwBaseMessageClient.obtainChannelAndMemberInfoCom(obtainChannelAndMemberInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D2查询通道详情(公共) - queryChannelDetailCom
        QueryChannelDetailComRespDto queryChannelDetailComRespDto = null;
        QueryChannelDetailComReqDto queryChannelDetailComReqDto = new QueryChannelDetailComReqDto();
        queryChannelDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1108012_1
        if (reqDto != null) {
            queryChannelDetailComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1108011_1
        }

        /*D2查询通道详情(公共)[7101]   */
        Assert.isNull(queryChannelDetailComReqDto.getMessageChannelId(), "B2执行第三方智能问答(公共)-D2查询通道详情(公共)-通道ID不能为空", false);
        Assert.isNull(queryChannelDetailComReqDto.getSpaceId(), "B2执行第三方智能问答(公共)-D2查询通道详情(公共)-创建于空间ID不能为空", false);
        queryChannelDetailComRespDto = fwCompMessageClient.queryChannelDetailCom(queryChannelDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤2: D2执行初始化成员通道(公共) - implementInitializationMemberChannelCom
        ImplementInitializationMemberChannelComRespDto implementInitializationMemberChannelComRespDto = null;
        if (queryChannelDetailComRespDto != null) {
            ImplementInitializationMemberChannelComReqDto implementInitializationMemberChannelComReqDto = new ImplementInitializationMemberChannelComReqDto();
            implementInitializationMemberChannelComReqDto.setUseChannelMethod("ISHAVE_CHANNEL");//sourceId:1100941_1
            implementInitializationMemberChannelComReqDto.setMessageTemplateCode("Q_AND_A_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:1100934_1
            implementInitializationMemberChannelComReqDto.setNewMessage("第三方问答");//CUSTOM_CONVENTION//sourceId:1100944_1
            implementInitializationMemberChannelComReqDto.setBorcScene("TOB_SCENE");//sourceId:1100945_1
            implementInitializationMemberChannelComReqDto.setIsAssistant("TRUE");//sourceId:1441984_1
            implementInitializationMemberChannelComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112343_1
            if (queryChannelDetailComRespDto != null) {
                implementInitializationMemberChannelComReqDto.setChannelName(queryChannelDetailComRespDto.getChannelName());//SimpleFieldAssign//sourceId:1100942_1
                implementInitializationMemberChannelComReqDto.setChannelTypeCode(queryChannelDetailComRespDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1109711_1
                implementInitializationMemberChannelComReqDto.setMsgChannelClassCode(queryChannelDetailComRespDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1477061_1
                implementInitializationMemberChannelComReqDto.setChannelLogo(queryChannelDetailComRespDto.getChannelLogo());//SimpleFieldAssign//sourceId:1100943_1
                implementInitializationMemberChannelComReqDto.setNewTableTypeCode(queryChannelDetailComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1100950_1
                implementInitializationMemberChannelComReqDto.setNewEntityId(queryChannelDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1100951_1
                implementInitializationMemberChannelComReqDto.setVirtualOrgId(queryChannelDetailComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1100958_1
                implementInitializationMemberChannelComReqDto.setChannelSpaceId(queryChannelDetailComRespDto.getSpaceId());//SimpleFieldAssign//sourceId:1100955_1
                implementInitializationMemberChannelComReqDto.setChannelAppId(queryChannelDetailComRespDto.getAppId());//SimpleFieldAssign//sourceId:1100956_1
                implementInitializationMemberChannelComReqDto.setSpaceId(queryChannelDetailComRespDto.getSpaceId());//SimpleFieldAssign//sourceId:1100948_1
                implementInitializationMemberChannelComReqDto.setAppId(queryChannelDetailComRespDto.getAppId());//SimpleFieldAssign//sourceId:1100949_1
            }
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementInitializationMemberChannelComReqDto.setOriginalRoleMemberId(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1100946_1
                implementInitializationMemberChannelComReqDto.setUserId(obtainChannelAndMemberInfoComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:1100947_1
                implementInitializationMemberChannelComReqDto.setCounterpartChannelLogo(obtainChannelAndMemberInfoComRespDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1100953_1
                implementInitializationMemberChannelComReqDto.setCounterpartEntityId(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1441983_1
                implementInitializationMemberChannelComReqDto.setCounterpartChannelName(obtainChannelAndMemberInfoComRespDto.getNameOfSender());//SimpleFieldAssign//sourceId:1100954_1
            }

            /*D2执行初始化成员通道(公共)[6804]   */
            Assert.isNull(implementInitializationMemberChannelComReqDto.getUseChannelMethod(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-使用通道方式不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getMessageTemplateCode(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getChannelName(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道名称不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getChannelTypeCode(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getMsgChannelClassCode(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-消息使用通道类别不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getChannelLogo(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道缩略图地址不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getNewTableTypeCode(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道归属主体内容类型编码不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getNewEntityId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道归属主体内容ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getChannelSpaceId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道归属空间ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getChannelAppId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-通道归属联盟应用ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getNewMessage(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-最新消息文本不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getUserId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-归属个人账号ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getBorcScene(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-toB或toC场景不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getCounterpartChannelLogo(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-对方缩略图地址不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getCounterpartEntityId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-对方是员工或个人ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getCounterpartChannelName(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-对方名称不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getIsAssistant(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-发送方是否助手不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getOperateTime(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-操作时间不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getSpaceId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementInitializationMemberChannelComReqDto.getAppId(), "B2执行第三方智能问答(公共)-D2执行初始化成员通道(公共)-创建于联盟应用ID不能为空", false);
            implementInitializationMemberChannelComRespDto = fwCompMessageClient.implementInitializationMemberChannelCom(implementInitializationMemberChannelComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤3: D2-执行初始化消息数量（新）(公共) - implementNewInitializationMessageNumCom
        ImplementNewInitializationMessageNumComRespDto implementNewInitializationMessageNumComRespDto = null;
        if (implementInitializationMemberChannelComRespDto != null) {
            ImplementNewInitializationMessageNumComReqDto implementNewInitializationMessageNumComReqDto = new ImplementNewInitializationMessageNumComReqDto();
            implementNewInitializationMessageNumComReqDto.setSurfaceCode("MEMBER_CHANNEL_RELATION");//sourceId:1492415_1
            implementNewInitializationMessageNumComReqDto.setChannelTypeCode("THIRD_QA_SESSION");//sourceId:1492408_1
            implementNewInitializationMessageNumComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1492411_1
            if (implementInitializationMemberChannelComRespDto != null) {
                implementNewInitializationMessageNumComReqDto.setEntityId(implementInitializationMemberChannelComRespDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1492416_1
                implementNewInitializationMessageNumComReqDto.setMessageChannelId(implementInitializationMemberChannelComRespDto.getChannelId());//SimpleFieldAssign//sourceId:1492407_1
            }
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementNewInitializationMessageNumComReqDto.setOriginalRoleMemberId(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1492410_1
                implementNewInitializationMessageNumComReqDto.setUserId(obtainChannelAndMemberInfoComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:1492409_1
            }

            /*D2-执行初始化消息数量（新）(公共)[7908]   */
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getSurfaceCode(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-归属内容类型编码不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getEntityId(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-归属内容ID不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getChannelTypeCode(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getMessageChannelId(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-消息通道ID不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getOriginalRoleMemberId(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-身份人员ID不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getUserId(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-账号不能为空", false);
            Assert.isNull(implementNewInitializationMessageNumComReqDto.getSpaceId(), "B2执行第三方智能问答(公共)-D2-执行初始化消息数量（新）(公共)-创建于空间ID不能为空", false);
            implementNewInitializationMessageNumComRespDto = fwCompMessageClient.implementNewInitializationMessageNumCom(implementNewInitializationMessageNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤4: D2执行第三方智能问答(公共) - implementThirdPartyIntelligentQACom
        ImplementThirdPartyIntelligentQAComRespDto implementThirdPartyIntelligentQAComRespDto = null;
        if (obtainChannelAndMemberInfoComRespDto != null) {
            ImplementThirdPartyIntelligentQAComReqDto implementThirdPartyIntelligentQAComReqDto = new ImplementThirdPartyIntelligentQAComReqDto();
            implementThirdPartyIntelligentQAComReqDto.setBorcScene("TOB_SCENE");//sourceId:999746_1
            implementThirdPartyIntelligentQAComReqDto.setMessageTemplateCode("Q_AND_A_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:999747_1
            implementThirdPartyIntelligentQAComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:999754_1
            implementThirdPartyIntelligentQAComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:999755_1
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementThirdPartyIntelligentQAComReqDto.setSenderOriginalRoleMemberId(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:999748_1
                implementThirdPartyIntelligentQAComReqDto.setSenderUserId(obtainChannelAndMemberInfoComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:999749_1
                implementThirdPartyIntelligentQAComReqDto.setSenderProfilePictureAddress(obtainChannelAndMemberInfoComRespDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:999750_1
                implementThirdPartyIntelligentQAComReqDto.setNameOfSender(obtainChannelAndMemberInfoComRespDto.getNameOfSender());//SimpleFieldAssign//sourceId:999751_1
            }
            if (implementInitializationMemberChannelComRespDto != null) {
                implementThirdPartyIntelligentQAComReqDto.setMessageChannelId(implementInitializationMemberChannelComRespDto.getChannelId());//SimpleFieldAssign//sourceId:999752_1
                implementThirdPartyIntelligentQAComReqDto.setMemberChannelRelationId(implementInitializationMemberChannelComRespDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:999753_1
            }

            /*D2执行第三方智能问答(公共)[7065]   */
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getBorcScene(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-toB或toC场景不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getMessageTemplateCode(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getSenderOriginalRoleMemberId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-发送方身份人员ID不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getSenderUserId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-发送方账号ID不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getSenderProfilePictureAddress(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-发送方头像地址不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getNameOfSender(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-发送方姓名不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getMessageChannelId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-消息通道ID不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getMemberChannelRelationId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-成员通道关系ID不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getSpaceId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementThirdPartyIntelligentQAComReqDto.getAppId(), "B2执行第三方智能问答(公共)-D2执行第三方智能问答(公共)-创建于联盟应用ID不能为空", false);
            implementThirdPartyIntelligentQAComRespDto = fwCompMessageClient.implementThirdPartyIntelligentQACom(implementThirdPartyIntelligentQAComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

        BffImplementThirdPartyIntelligentQAComRespDto retData = new BffImplementThirdPartyIntelligentQAComRespDto();


        return retData;
    }

    /**
     * B2执行拉N人建群(公共)[7036]
     * gen by moon at 1/19/2024, 3:22:11 PM
     */
    @Trace(operationName = "B2执行拉N人建群(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementPullNPeopleBuildGroupComRespDto implementPullNPeopleBuildGroupCom(BffImplementPullNPeopleBuildGroupComReqDto reqDto) {


        //步骤0: D3-新增通道的虚拟组织及成员(公共) - addChannelVirtualOrgAndVirtualOrgMemberCom
        AddChannelVirtualOrgAndVirtualOrgMemberComRespDto addChannelVirtualOrgAndVirtualOrgMemberComRespDto = null;
        AddChannelVirtualOrgAndVirtualOrgMemberComReqDto addChannelVirtualOrgAndVirtualOrgMemberComReqDto = new AddChannelVirtualOrgAndVirtualOrgMemberComReqDto();
        addChannelVirtualOrgAndVirtualOrgMemberComReqDto.setEvaluationTemplateId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1102249_1
        if (reqDto != null && reqDto.getPullNPeopleBuildGroupList() != null && !CollectionUtil.isEmpty(reqDto.getPullNPeopleBuildGroupList())) {
            addChannelVirtualOrgAndVirtualOrgMemberComReqDto.setVirtualOrgMemberList(reqDto.getPullNPeopleBuildGroupList().stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1101741_1
        }

        /*D3-新增通道的虚拟组织及成员(公共)[7338]   */
        Assert.isNull(addChannelVirtualOrgAndVirtualOrgMemberComReqDto.getEvaluationTemplateId(), "B2执行拉N人建群(公共)-D3-新增通道的虚拟组织及成员(公共)-归属对象ID不能为空", false);
        addChannelVirtualOrgAndVirtualOrgMemberComRespDto = fwAppMessageClient.addChannelVirtualOrgAndVirtualOrgMemberCom(addChannelVirtualOrgAndVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
        queryUserInfoDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:998942_1

        /*D1-2查询个人资料详情(公共)[408]   */
        Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B2执行拉N人建群(公共)-D1-2查询个人资料详情(公共)-账号不能为空", false);
        queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤2: D2生成消息语义实例(公共) - generateMessageSemanticInstanceCom
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
            generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("CREATE_MULT_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:996506_1
            if (queryUserInfoDetailComRespDto != null) {
                generateMessageSemanticInstanceComReqDto.setIdCardName(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:996507_1
            }

            /*D2生成“ xx ”邀请多人加入小岛”[7038]   */
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B2执行拉N人建群(公共)-D2生成“ xx ”邀请多人加入小岛”-模板引擎标识不能为空", false);
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "B2执行拉N人建群(公共)-D2生成“ xx ”邀请多人加入小岛”-真实姓名不能为空", false);
            generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤3: D2执行拉N人建群(公共) - implementPullNPeopleBuildGroupCom
        ImplementPullNPeopleBuildGroupComRespDto implementPullNPeopleBuildGroupComRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            ImplementPullNPeopleBuildGroupComReqDto implementPullNPeopleBuildGroupComReqDto = new ImplementPullNPeopleBuildGroupComReqDto();
            implementPullNPeopleBuildGroupComReqDto.setBorcScene("TOB_SCENE");//sourceId:996031_1
            implementPullNPeopleBuildGroupComReqDto.setMessageLocationTypeCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:996032_1
            implementPullNPeopleBuildGroupComReqDto.setMessageTemplateCode("CREATE_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:996033_1
            implementPullNPeopleBuildGroupComReqDto.setPlatformReplace("FALSE");//sourceId:996042_1
            implementPullNPeopleBuildGroupComReqDto.setChannelTypeCode("GROUP_SESSION");//sourceId:1109706_1
            implementPullNPeopleBuildGroupComReqDto.setNewTableTypeCode("OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER");//sourceId:1004095_1
            implementPullNPeopleBuildGroupComReqDto.setNewEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1004096_1
            implementPullNPeopleBuildGroupComReqDto.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:996040_1
            implementPullNPeopleBuildGroupComReqDto.setIsAssistant("TRUE");//sourceId:996034_1
            implementPullNPeopleBuildGroupComReqDto.setMessageRole("user");//sourceId:996035_1
            implementPullNPeopleBuildGroupComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:996036_1
            implementPullNPeopleBuildGroupComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:996037_1
            implementPullNPeopleBuildGroupComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112674_1
            implementPullNPeopleBuildGroupComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996043_1
            implementPullNPeopleBuildGroupComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:996044_1
            if (reqDto != null && reqDto.getPullNPeopleBuildGroupList() != null && !CollectionUtil.isEmpty(reqDto.getPullNPeopleBuildGroupList())) {
                implementPullNPeopleBuildGroupComReqDto.setMemberChannelList(reqDto.getPullNPeopleBuildGroupList().stream().map(item -> BeanUtil.toBean(item, MemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:996030_1
            }
            if (reqDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setChannelName(reqDto.getChannelName());//SimpleFieldAssign//sourceId:1004093_1
            }
            if (queryUserInfoDetailComRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setChannelLogo(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1004094_1
                implementPullNPeopleBuildGroupComReqDto.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:996038_1
                implementPullNPeopleBuildGroupComReqDto.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:996039_1
            }
            if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setVirtualOrgId(addChannelVirtualOrgAndVirtualOrgMemberComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1093224_1
            }
            if (generateMessageSemanticInstanceComRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setMessageContent(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:996041_1
            }

            /*D2执行拉N人建群(公共)[7031]   */
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getBorcScene(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-toB或toC场景不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageLocationTypeCode(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-消息位置标识不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageTemplateCode(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getPlatformReplace(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-是否平台代操作不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelTypeCode(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelName(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-通道名称不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelLogo(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-通道缩略图地址不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNewTableTypeCode(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-通道归属主体内容类型编码不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNewEntityId(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-通道归属主体内容ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageContent(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-消息内容不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageImportantLevel(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-消息重要紧急度层级不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getIsAssistant(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方是否助手不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageRole(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方角色不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderOriginalRoleMemberId(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方身份人员ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderUserId(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方账号ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderProfilePictureAddress(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方头像地址不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNameOfSender(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-发送方姓名不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getOperateTime(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-操作时间不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSpaceId(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getAppId(), "B2执行拉N人建群(公共)-D2执行拉N人建群(公共)-创建于联盟应用ID不能为空", false);
            implementPullNPeopleBuildGroupComRespDto = fwCompMessageClient.implementPullNPeopleBuildGroupCom(implementPullNPeopleBuildGroupComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤4: D3-回写通道虚拟组织及成员信息(公共) - writeBackChannelVirtualOrgAndVirtualOrgMemberCom
        WriteBackChannelVirtualOrgAndVirtualOrgMemberComRespDto writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = null;
        if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null) {
            WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto = new WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto();
            if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null) {
                writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setVirtualOrgId(addChannelVirtualOrgAndVirtualOrgMemberComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1102180_1
            }
            if (implementPullNPeopleBuildGroupComRespDto != null) {
                writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setMessageChannelId(implementPullNPeopleBuildGroupComRespDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1102181_1
            }

            /*D3-回写通道虚拟组织及成员信息(公共)[7339]   */
            Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getVirtualOrgId(), "B2执行拉N人建群(公共)-D3-回写通道虚拟组织及成员信息(公共)-虚拟组织ID不能为空", false);
            Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getMessageChannelId(), "B2执行拉N人建群(公共)-D3-回写通道虚拟组织及成员信息(公共)-通道ID不能为空", false);
            writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = fwAppMessageClient.writeBackChannelVirtualOrgAndVirtualOrgMemberCom(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

        BffImplementPullNPeopleBuildGroupComRespDto retData = new BffImplementPullNPeopleBuildGroupComRespDto();


        return retData;
    }

    /**
     * B2发起两人会话(公共)[7039]
     * gen by moon at 1/21/2024, 10:08:19 PM
     */
    @Trace(operationName = "B2发起两人会话(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffInitiateTwoPersonConversationComRespDto initiateTwoPersonConversationCom(BffInitiateTwoPersonConversationComReqDto reqDto) {


        QueryAcceptParameterBizFieldDetailComRespDto queryAcceptParameterBizFieldDetailComRespDto_1 = null;
//virtualUsage D2判断是否存在两人会话(公共)  43615
        JudgeIsExistTwoPersonConversationComRespDto judgeIsExistTwoPersonConversationComRespDto = null;
        JudgeIsExistTwoPersonConversationComReqDto judgeIsExistTwoPersonConversationComReqDto = new JudgeIsExistTwoPersonConversationComReqDto();
        judgeIsExistTwoPersonConversationComReqDto.setChannelTypeCode("PERSONAL_SESSION");//sourceId:996623_1_43615
        judgeIsExistTwoPersonConversationComReqDto.setBorcScene("TOB_SCENE");//sourceId:996624_1_43615
        judgeIsExistTwoPersonConversationComReqDto.setFriendCounterpartEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1494147_1_43615
        judgeIsExistTwoPersonConversationComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996629_1_43615
        if (reqDto != null) {
            judgeIsExistTwoPersonConversationComReqDto.setOriginalRoleMemberId(reqDto.getReceiveOriginalRoleMemberId());//SimpleFieldAssign//sourceId:996627_1_43615
            judgeIsExistTwoPersonConversationComReqDto.setUserId(reqDto.getReceiveUserId());//SimpleFieldAssign//sourceId:996628_1_43615
        }

        /*D2判断是否存在两人会话(公共)[7040]   */
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getChannelTypeCode(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-通道类型编码不能为空", false);
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getBorcScene(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-toB或toC场景不能为空", false);
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getFriendCounterpartEntityId(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-好友是员工或个人ID不能为空", false);
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getOriginalRoleMemberId(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-归属身份人员ID不能为空", false);
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getUserId(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-归属个人账号ID不能为空", false);
        Assert.isNull(judgeIsExistTwoPersonConversationComReqDto.getSpaceId(), "B2发起两人会话(公共)-D2判断是否存在两人会话(公共)-创建于空间ID不能为空", false);
        judgeIsExistTwoPersonConversationComRespDto = fwCompMessageClient.judgeIsExistTwoPersonConversationCom(judgeIsExistTwoPersonConversationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((judgeIsExistTwoPersonConversationComRespDto != null && judgeIsExistTwoPersonConversationComRespDto.getMemberChannelRelationId() == null)) {
            //if(D2判断是否存在两人会话(公共).成员通道关系ID 值等于空 )  43616

            QueryMemberProfileDetailComRespDto queryMemberProfileDetailComRespDto = null;
            QueryMemberProfileDetailComReqDto queryMemberProfileDetailComReqDto = new QueryMemberProfileDetailComReqDto();
            queryMemberProfileDetailComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:996590_1_43617
            queryMemberProfileDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996591_1_43617

            /*D1查询发起方个人资料详情(公共)[6778]   */
            Assert.isNull(queryMemberProfileDetailComReqDto.getSpaceId(), "B2发起两人会话(公共)-D1查询发起方个人资料详情(公共)-创建于空间ID不能为空", false);
            queryMemberProfileDetailComRespDto = fwBaseMemberClient.queryMemberProfileDetailCom(queryMemberProfileDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
            if (queryMemberProfileDetailComRespDto != null) {
                GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
                generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:996577_1_43618
                if (queryMemberProfileDetailComRespDto != null) {
                    generateMessageSemanticInstanceComReqDto.setIdCardName(queryMemberProfileDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:996578_1_43618
                }

                /*D2生成“我是**”[7038]   */
                Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B2发起两人会话(公共)-D2生成“我是**”-模板引擎标识不能为空", false);
                Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "B2发起两人会话(公共)-D2生成“我是**”-真实姓名不能为空", false);
                generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementSendMessageChannelComRespDto implementSendMessageChannelComRespDto = null;
            if (queryMemberProfileDetailComRespDto != null && generateMessageSemanticInstanceComRespDto != null) {
                ImplementSendMessageChannelComReqDto implementSendMessageChannelComReqDto = new ImplementSendMessageChannelComReqDto();
                implementSendMessageChannelComReqDto.setUseChannelMethod("ISHAVE_MEMBER_CHANNEL");//sourceId:996561_1_43619
                implementSendMessageChannelComReqDto.setMessageTemplateCode("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:996549_1_43619
                implementSendMessageChannelComReqDto.setMessageLocationTypeCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:996548_1_43619
                implementSendMessageChannelComReqDto.setMessagePromptType("NUMBER_TYPE");//sourceId:996557_1_43619
                implementSendMessageChannelComReqDto.setPlatformReplace("FALSE");//sourceId:996550_1_43619
                implementSendMessageChannelComReqDto.setMsgChannelClassCode("NOTIFICATION_ANNOUNCEMENT");//sourceId:1444900_1_43619
                implementSendMessageChannelComReqDto.setChannelTypeCode("PERSONAL_SESSION");//sourceId:1109717_1_43619
                implementSendMessageChannelComReqDto.setNewTableTypeCode("OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER");//sourceId:996559_1_43619
                implementSendMessageChannelComReqDto.setNewEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:996560_1_43619
                implementSendMessageChannelComReqDto.setChannelSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1003356_1_43619
                implementSendMessageChannelComReqDto.setChannelAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1003357_1_43619
                implementSendMessageChannelComReqDto.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:996556_1_43619
                implementSendMessageChannelComReqDto.setConTableTypeCode("OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER");//sourceId:1001426_1_43619
                implementSendMessageChannelComReqDto.setConEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1001427_1_43619
                implementSendMessageChannelComReqDto.setBorcScene("TOB_SCENE");//sourceId:996563_1_43619
                implementSendMessageChannelComReqDto.setMessageRole("user");//sourceId:996564_1_43619
                implementSendMessageChannelComReqDto.setIsAssistant("FALSE");//sourceId:996576_1_43619
                implementSendMessageChannelComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:996565_1_43619
                implementSendMessageChannelComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:996566_1_43619
                implementSendMessageChannelComReqDto.setSenderSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996568_1_43619
                implementSendMessageChannelComReqDto.setSenderAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:996569_1_43619
                implementSendMessageChannelComReqDto.setHandleType("NO_NEED_HANDLING");//sourceId:1442782_1_43619
                implementSendMessageChannelComReqDto.setReceiveSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996572_1_43619
                implementSendMessageChannelComReqDto.setReceiveAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:996573_1_43619
                implementSendMessageChannelComReqDto.setComNumField(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:996567_1_43619
                implementSendMessageChannelComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112336_1_43619
                if (queryMemberProfileDetailComRespDto != null) {
                    implementSendMessageChannelComReqDto.setChannelName(queryMemberProfileDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1003355_1_43619
                    implementSendMessageChannelComReqDto.setChannelLogo(queryMemberProfileDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1003354_1_43619
                    implementSendMessageChannelComReqDto.setSenderProfilePictureAddress(queryMemberProfileDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:996551_1_43619
                    implementSendMessageChannelComReqDto.setNameOfSender(queryMemberProfileDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:996552_1_43619
                }
                if (generateMessageSemanticInstanceComRespDto != null) {
                    implementSendMessageChannelComReqDto.setObjectName(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:996553_1_43619
                    implementSendMessageChannelComReqDto.setNewMessage(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1338691_1_43619
                }
                if (reqDto != null) {
                    implementSendMessageChannelComReqDto.setReceiveOriginalRoleMemberId(reqDto.getReceiveOriginalRoleMemberId());//SimpleFieldAssign//sourceId:996574_1_43619
                    implementSendMessageChannelComReqDto.setReceiveUserId(reqDto.getReceiveUserId());//SimpleFieldAssign//sourceId:996575_1_43619
                    implementSendMessageChannelComReqDto.setReceiveProfilePictureAddress(reqDto.getReceiveProfilePictureAddress());//SimpleFieldAssign//sourceId:996570_1_43619
                    implementSendMessageChannelComReqDto.setNameOfReceive(reqDto.getNameOfReceive());//SimpleFieldAssign//sourceId:996571_1_43619
                }

                /*D2执行发送消息到通道(公共)[6814]   */
                Assert.isNull(implementSendMessageChannelComReqDto.getUseChannelMethod(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-使用通道方式不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMessageTemplateCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-消息模板标识不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMessageLocationTypeCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMessagePromptType(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-消息提示类型不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getPlatformReplace(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-是否平台代操作不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMsgChannelClassCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-消息使用通道类别不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getChannelTypeCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道类型编码不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getChannelName(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道名称不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getChannelLogo(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道缩略图地址不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getNewTableTypeCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getNewEntityId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getChannelSpaceId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道归属空间ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getChannelAppId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通道归属联盟应用ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMessageImportantLevel(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getConTableTypeCode(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-内容表编码不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getConEntityId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-内容表主键ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getObjectName(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-对象名称不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getNewMessage(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-最新消息文本不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getBorcScene(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-toB或toC场景不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getMessageRole(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方角色不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getIsAssistant(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方是否助手不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getSenderOriginalRoleMemberId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getSenderUserId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方账号ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getSenderProfilePictureAddress(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方头像地址不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getNameOfSender(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方姓名不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getSenderSpaceId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方空间ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getSenderAppId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-发送方联盟应用ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getHandleType(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-处理类型不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getReceiveOriginalRoleMemberId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-接收方身份人员ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getReceiveProfilePictureAddress(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-接收方头像地址不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getNameOfReceive(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-接收方姓名不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getReceiveSpaceId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-接收方空间ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getReceiveAppId(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-接收方联盟应用ID不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getComNumField(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-通用数值字段（整数型）不能为空", false);
                Assert.isNull(implementSendMessageChannelComReqDto.getOperateTime(), "B2发起两人会话(公共)-D2执行发送消息到通道(公共)-操作时间不能为空", false);
                implementSendMessageChannelComRespDto = fwCompMessageClient.implementSendMessageChannelCom(implementSendMessageChannelComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            QueryAcceptParameterBizFieldDetailComRespDto queryAcceptParameterBizFieldDetailComRespDto = null;
            if (implementSendMessageChannelComRespDto != null) {
                QueryAcceptParameterBizFieldDetailComReqDto queryAcceptParameterBizFieldDetailComReqDto = new QueryAcceptParameterBizFieldDetailComReqDto();
                if (implementSendMessageChannelComRespDto != null) {
                    queryAcceptParameterBizFieldDetailComReqDto.setMemberChannelRelationId(implementSendMessageChannelComRespDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1091546_1_47735
                }

                /*D2查询接收出入参业务字段详情(公共)[7306]   */
                Assert.isNull(queryAcceptParameterBizFieldDetailComReqDto.getMemberChannelRelationId(), "B2发起两人会话(公共)-D2查询接收出入参业务字段详情(公共)-成员通道关系ID不能为空", false);
                queryAcceptParameterBizFieldDetailComRespDto = fwCompInterfaceModeClient.queryAcceptParameterBizFieldDetailCom(queryAcceptParameterBizFieldDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryAcceptParameterBizFieldDetailComRespDto_1 = queryAcceptParameterBizFieldDetailComRespDto;
            }
        } else {
            //else  47736

            QueryAcceptParameterBizFieldDetailComRespDto queryAcceptParameterBizFieldDetailComRespDto_2 = null;
            if (judgeIsExistTwoPersonConversationComRespDto != null) {
                QueryAcceptParameterBizFieldDetailComReqDto queryAcceptParameterBizFieldDetailComReqDto_1 = new QueryAcceptParameterBizFieldDetailComReqDto();
                if (judgeIsExistTwoPersonConversationComRespDto != null) {
                    queryAcceptParameterBizFieldDetailComReqDto_1.setMemberChannelRelationId(judgeIsExistTwoPersonConversationComRespDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1091546_1_47737
                }

                /*D2查询接收出入参业务字段详情(公共)[7306]   */
                Assert.isNull(queryAcceptParameterBizFieldDetailComReqDto_1.getMemberChannelRelationId(), "B2发起两人会话(公共)-D2查询接收出入参业务字段详情(公共)-成员通道关系ID不能为空", false);
                queryAcceptParameterBizFieldDetailComRespDto_2 = fwCompInterfaceModeClient.queryAcceptParameterBizFieldDetailCom(queryAcceptParameterBizFieldDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                queryAcceptParameterBizFieldDetailComRespDto_1 = queryAcceptParameterBizFieldDetailComRespDto_2;
            }
        }
        BffInitiateTwoPersonConversationComRespDto retData = new BffInitiateTwoPersonConversationComRespDto();
        if (queryAcceptParameterBizFieldDetailComRespDto_1 != null) {
            retData.setMemberChannelRelationId(queryAcceptParameterBizFieldDetailComRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1091548_1
        }


        return retData;
    }

    /**
     * B2判断进入单个内容会话(公共)[7075]
     * gen by moon at 2/8/2024, 2:28:10 AM
     */
    @Trace(operationName = "B2判断进入单个内容会话(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeInSingleContentSessionComRespDto judgeInSingleContentSessionCom(BffJudgeInSingleContentSessionComReqDto reqDto) {


        ImplementSendChannelMessageComRespDto implementSendChannelMessageComRespDto_1 = null;
//virtualUsage 约定：消息模版标识  57364
        QueryIntegerVariableDetailComRespDto queryIntegerVariableDetailComRespDto = null;
        QueryIntegerVariableDetailComReqDto queryIntegerVariableDetailComReqDto = new QueryIntegerVariableDetailComReqDto();
        queryIntegerVariableDetailComReqDto.setMessageTemplateCode("COMMENT_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:1108778_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField("THIRD_QA_SESSION_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:1442621_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField1("CREATE_MULT_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1442640_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField2("CREATE_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1442641_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField3("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1442656_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField4("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1443718_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField5("INTELLIGENT_STUDY");//CUSTOM_CONVENTION//sourceId:1443719_1_57364
        queryIntegerVariableDetailComReqDto.setCustomField6("RECORD_IDEAS");//CUSTOM_CONVENTION//sourceId:1494131_1_57364
        queryIntegerVariableDetailComReqDto.setNewTableTypeCode("OMS_VIRTUAL_ORG");//sourceId:1442685_1_57364
        queryIntegerVariableDetailComReqDto.setConTableTypeCode("OMS_VIRTUAL_ORG");//sourceId:1442686_1_57364

        /*约定：消息模版标识[6531]   */
        Assert.isNull(queryIntegerVariableDetailComReqDto.getMessageTemplateCode(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-消息模板标识不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField1(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段1不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField2(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段2不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField3(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段3不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField4(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段4不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField5(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段5不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getCustomField6(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-自定义字段6不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getNewTableTypeCode(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-通道归属主体内容类型编码不能为空", false);
        Assert.isNull(queryIntegerVariableDetailComReqDto.getConTableTypeCode(), "B2判断进入单个内容会话(公共)-约定：消息模版标识-内容表编码不能为空", false);
        queryIntegerVariableDetailComRespDto = fwCompInterfaceModeClient.queryIntegerVariableDetailCom(queryIntegerVariableDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D1-3查发送人头像、姓名、身份人员ID等  57366
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
        queryInductionRecordInfoDetailComReqDto.setInductionRecordId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1442588_1_57366
        queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1442596_1_57366

        /*D1-3查发送人头像、姓名、身份人员ID等[715]   */
        Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B2判断进入单个内容会话(公共)-D1-3查发送人头像、姓名、身份人员ID等-就职记录ID不能为空", false);
        Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "B2判断进入单个内容会话(公共)-D1-3查发送人头像、姓名、身份人员ID等-创建于空间ID不能为空", false);
        queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((reqDto != null && reqDto.getChannelAppCliqueType() != null && reqDto.getChannelAppCliqueType().equals("HAVE_CLIQUE") && reqDto != null && reqDto.getNewEntityId() != null && reqDto != null && reqDto.getNewTableTypeCode() != null && reqDto != null && reqDto.getConTableTypeCode() != null && reqDto != null && reqDto.getConEntityId() != null)) {
            //if((B2判断进入单个内容会话(公共).通道应用小圈子类型 等于 有小圈子 and B2判断进入单个内容会话(公共).通道归属主体内容ID 值不等于空  and B2判断进入单个内容会话(公共).通道归属主体内容类型编码 值不等于空  and B2判断进入单个内容会话(公共).内容表编码 值不等于空  and B2判断进入单个内容会话(公共).内容表主键ID 值不等于空 ))  57351

            ObtainMsgAcceptPersonInfoComRespDto obtainMsgAcceptPersonInfoComRespDto = null;
            ObtainMsgAcceptPersonInfoComReqDto obtainMsgAcceptPersonInfoComReqDto = new ObtainMsgAcceptPersonInfoComReqDto();
            obtainMsgAcceptPersonInfoComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1442080_1_57355
            obtainMsgAcceptPersonInfoComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1442081_1_57355
            obtainMsgAcceptPersonInfoComReqDto.setIsQueryPersonInfo("FALSE");//sourceId:1510237_1_57355
            if (reqDto != null) {
                obtainMsgAcceptPersonInfoComReqDto.setEntityId(reqDto.getNewEntityId());//SimpleFieldAssign//sourceId:1442079_1_57355
            }

            /*D3查内容小圈子信息（过滤了发送人）[7488]   */
            Assert.isNull(obtainMsgAcceptPersonInfoComReqDto.getSenderUserId(), "B2判断进入单个内容会话(公共)-D3查内容小圈子信息（过滤了发送人）-发送方账号ID不能为空", false);
            Assert.isNull(obtainMsgAcceptPersonInfoComReqDto.getSenderOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D3查内容小圈子信息（过滤了发送人）-发送方身份人员ID不能为空", false);
            Assert.isNull(obtainMsgAcceptPersonInfoComReqDto.getEntityId(), "B2判断进入单个内容会话(公共)-D3查内容小圈子信息（过滤了发送人）-内容表主键ID不能为空", false);
            Assert.isNull(obtainMsgAcceptPersonInfoComReqDto.getIsQueryPersonInfo(), "B2判断进入单个内容会话(公共)-D3查内容小圈子信息（过滤了发送人）-是否查个人信息不能为空", false);
            obtainMsgAcceptPersonInfoComRespDto = fwAppVirtualOrgClient.obtainMsgAcceptPersonInfoCom(obtainMsgAcceptPersonInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto = new GenerateSemanticInstanceStoryComReqDto();
                generateSemanticInstanceStoryComReqDto.setTemplateSemanticEngineCode("CREATE_MULT_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1492498_1_59874
                generateSemanticInstanceStoryComReqDto.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1492492_1_59874
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto.setFirstFieldValue(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1492493_1_59874
                }

                /*D2生成 “ xx ” 邀请多人加入小岛[8234]   */
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getTemplateSemanticEngineCode(), "B2判断进入单个内容会话(公共)-D2生成 “ xx ” 邀请多人加入小岛-模板引擎标识不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldName(), "B2判断进入单个内容会话(公共)-D2生成 “ xx ” 邀请多人加入小岛-第一个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldValue(), "B2判断进入单个内容会话(公共)-D2生成 “ xx ” 邀请多人加入小岛-第一个字段字段值不能为空", false);
                generateSemanticInstanceStoryComRespDto = fwCompTemplateEngineClient.generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementSendChannelMessageComRespDto implementSendChannelMessageComRespDto = null;
            if (obtainMsgAcceptPersonInfoComRespDto != null && queryIntegerVariableDetailComRespDto != null && generateSemanticInstanceStoryComRespDto != null && queryInductionRecordInfoDetailComRespDto != null) {
                ImplementSendChannelMessageComReqDto implementSendChannelMessageComReqDto = new ImplementSendChannelMessageComReqDto();
                implementSendChannelMessageComReqDto.setBorcScene("TOB_SCENE");//sourceId:1442003_1_57357
                implementSendChannelMessageComReqDto.setPlatformReplace("FALSE");//sourceId:1442004_1_57357
                implementSendChannelMessageComReqDto.setMessageTitle("我的想法");//CUSTOM_CONVENTION//sourceId:1540470_1_57357
                implementSendChannelMessageComReqDto.setHandleType("NO_NEED_HANDLING");//sourceId:1442028_1_57357
                implementSendChannelMessageComReqDto.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1442006_1_57357
                implementSendChannelMessageComReqDto.setMessageRole("user");//sourceId:1441995_1_57357
                implementSendChannelMessageComReqDto.setIsAssistant("FALSE");//sourceId:1441998_1_57357
                implementSendChannelMessageComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1442010_1_57357
                implementSendChannelMessageComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1442011_1_57357
                if (obtainMsgAcceptPersonInfoComRespDto != null && obtainMsgAcceptPersonInfoComRespDto.getMemberMsgReceiveList() != null && !CollectionUtil.isEmpty(obtainMsgAcceptPersonInfoComRespDto.getMemberMsgReceiveList())) {
                    implementSendChannelMessageComReqDto.setMemberChannelList(obtainMsgAcceptPersonInfoComRespDto.getMemberMsgReceiveList().stream().map(item -> BeanUtil.toBean(item, MemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1442001_1_57357
                }
                if (queryIntegerVariableDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto.setMessageLocationTypeCode(queryIntegerVariableDetailComRespDto.getCustomField4());//SimpleFieldAssign//sourceId:1442002_1_57357
                    implementSendChannelMessageComReqDto.setGreetingMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField1());//SimpleFieldAssign//sourceId:1442631_1_57357
                    implementSendChannelMessageComReqDto.setMessageTemplateCode(queryIntegerVariableDetailComRespDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1442007_1_57357
                }
                if (obtainMsgAcceptPersonInfoComRespDto != null) {
                    implementSendChannelMessageComReqDto.setVirtualOrgId(obtainMsgAcceptPersonInfoComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1442000_1_57357
                }
                if (reqDto != null) {
                    implementSendChannelMessageComReqDto.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1475847_1_57357
                    implementSendChannelMessageComReqDto.setChannelName(reqDto.getChannelName());//SimpleFieldAssign//sourceId:1441988_1_57357
                    implementSendChannelMessageComReqDto.setChannelLogo(reqDto.getChannelLogo());//SimpleFieldAssign//sourceId:1441989_1_57357
                    implementSendChannelMessageComReqDto.setChannelTypeCode(reqDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1442005_1_57357
                    implementSendChannelMessageComReqDto.setNewTableTypeCode(reqDto.getNewTableTypeCode());//SimpleFieldAssign//sourceId:1441990_1_57357
                    implementSendChannelMessageComReqDto.setNewEntityId(reqDto.getNewEntityId());//SimpleFieldAssign//sourceId:1441991_1_57357
                    implementSendChannelMessageComReqDto.setTableTypeCode(reqDto.getConTableTypeCode());//SimpleFieldAssign//sourceId:1442014_1_57357
                    implementSendChannelMessageComReqDto.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1442015_1_57357
                    implementSendChannelMessageComReqDto.setCooperateContentTypeCode(reqDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1442849_1_57357
                    implementSendChannelMessageComReqDto.setCooperateContentId(reqDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1442850_1_57357
                    implementSendChannelMessageComReqDto.setSurfaceContName(reqDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1442851_1_57357
                    implementSendChannelMessageComReqDto.setMediaType(reqDto.getMediaType());//SimpleFieldAssign//sourceId:1442852_1_57357
                    implementSendChannelMessageComReqDto.setMediaAddress(reqDto.getMediaAddress());//SimpleFieldAssign//sourceId:1442853_1_57357
                    implementSendChannelMessageComReqDto.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1442008_1_57357
                    implementSendChannelMessageComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1442009_1_57357
                    implementSendChannelMessageComReqDto.setMessageContent(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441992_1_57357
                    implementSendChannelMessageComReqDto.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1442030_1_57357
                }
                if (generateSemanticInstanceStoryComRespDto != null) {
                    implementSendChannelMessageComReqDto.setNewMessage(generateSemanticInstanceStoryComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1442012_1_57357
                }
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto.setNameOfSender(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1441994_1_57357
                    implementSendChannelMessageComReqDto.setSenderProfilePictureAddress(queryInductionRecordInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1441993_1_57357
                    implementSendChannelMessageComReqDto.setSenderDeptId(queryInductionRecordInfoDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1442025_1_57357
                    implementSendChannelMessageComReqDto.setSenderInductionRecordId(queryInductionRecordInfoDetailComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1442026_1_57357
                    implementSendChannelMessageComReqDto.setSenderOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1441996_1_57357
                    implementSendChannelMessageComReqDto.setSenderUserId(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1441997_1_57357
                }

                /*D2执行发送通道N人消息(初次或后续)[7494]   */
                Assert.isNull(implementSendChannelMessageComReqDto.getBorcScene(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-toB或toC场景不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getPlatformReplace(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-是否平台代操作不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageLocationTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息位置标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMsgChannelClassCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息使用通道类别不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getChannelName(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道名称不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getChannelLogo(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道缩略图地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getChannelTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getNewTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getNewEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表主键 ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getGreetingMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-欢迎语消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getNewMessage(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-最新消息文本不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageTitle(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息标题不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageContent(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息内容不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getHandleType(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-处理类型不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageImportantLevel(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getNameOfSender(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方姓名不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSenderProfilePictureAddress(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方头像地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getMessageRole(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方角色不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSenderDeptId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职部门ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSenderInductionRecordId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职记录ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSenderOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSenderUserId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方账号ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getIsAssistant(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方是否助手不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getSpaceId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于空间ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto.getAppId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于联盟应用ID不能为空", false);
                implementSendChannelMessageComRespDto = fwCompMessageClient.implementSendChannelMessageCom(implementSendChannelMessageComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                implementSendChannelMessageComRespDto_1 = implementSendChannelMessageComRespDto;
            }
        } else if ((reqDto != null && reqDto.getChannelAppCliqueType() != null && reqDto.getChannelAppCliqueType().equals("NO_CLIQUE") && reqDto != null && reqDto.getNewEntityId() != null && reqDto != null && reqDto.getNewTableTypeCode() != null && reqDto != null && reqDto.getConTableTypeCode() != null && reqDto != null && reqDto.getConEntityId() != null && reqDto != null && reqDto.getMessageTemplateCode() == null)) {
            //elseif((B2判断进入单个内容会话(公共).通道应用小圈子类型 等于 无小圈子 and B2判断进入单个内容会话(公共).通道归属主体内容ID 值不等于空  and B2判断进入单个内容会话(公共).通道归属主体内容类型编码 值不等于空  and B2判断进入单个内容会话(公共).内容表编码 值不等于空  and B2判断进入单个内容会话(公共).内容表主键ID 值不等于空  and B2判断进入单个内容会话(公共).消息模板标识 值等于空 ))  57353

            ImplementMulitDataToOneDatasComRespDto implementMulitDataToOneDatasComRespDto = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                ImplementMulitDataToOneDatasComReqDto implementMulitDataToOneDatasComReqDto = new ImplementMulitDataToOneDatasComReqDto();
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementMulitDataToOneDatasComReqDto.setCustomField(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1442088_1_57377
                    implementMulitDataToOneDatasComReqDto.setCustomField1(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1442089_1_57377
                }

                /*D2-执行双字段多条转数据集(公共)[5869]   */
                Assert.isNull(implementMulitDataToOneDatasComReqDto.getCustomField(), "B2判断进入单个内容会话(公共)-D2-执行双字段多条转数据集(公共)-第一条记录A字段不能为空", false);
                Assert.isNull(implementMulitDataToOneDatasComReqDto.getCustomField1(), "B2判断进入单个内容会话(公共)-D2-执行双字段多条转数据集(公共)-第一条记录B字段不能为空", false);
                implementMulitDataToOneDatasComRespDto = fwCompInterfaceModeClient.implementMulitDataToOneDatasCom(implementMulitDataToOneDatasComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto_2 = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto_1 = new GenerateSemanticInstanceStoryComReqDto();
                generateSemanticInstanceStoryComReqDto_1.setTemplateSemanticEngineCode("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1492490_1_59872
                generateSemanticInstanceStoryComReqDto_1.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1492484_1_59872
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto_1.setFirstFieldValue(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1492485_1_59872
                }

                /*D2生成“我是**”[8234]   */
                Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getTemplateSemanticEngineCode(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-模板引擎标识不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getFirstFieldName(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getFirstFieldValue(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段值不能为空", false);
                generateSemanticInstanceStoryComRespDto_2 = fwCompTemplateEngineClient.generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementSendChannelMessageComRespDto implementSendChannelMessageComRespDto_2 = null;
            if (queryIntegerVariableDetailComRespDto != null && generateSemanticInstanceStoryComRespDto_2 != null && queryInductionRecordInfoDetailComRespDto != null) {
                ImplementSendChannelMessageComReqDto implementSendChannelMessageComReqDto_1 = new ImplementSendChannelMessageComReqDto();
                implementSendChannelMessageComReqDto_1.setBorcScene("TOB_SCENE");//sourceId:1442003_1_57379
                implementSendChannelMessageComReqDto_1.setPlatformReplace("FALSE");//sourceId:1442004_1_57379
                implementSendChannelMessageComReqDto_1.setMessageTitle("我的想法");//CUSTOM_CONVENTION//sourceId:1540470_1_57379
                implementSendChannelMessageComReqDto_1.setHandleType("NO_NEED_HANDLING");//sourceId:1442028_1_57379
                implementSendChannelMessageComReqDto_1.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1442006_1_57379
                implementSendChannelMessageComReqDto_1.setMessageRole("user");//sourceId:1441995_1_57379
                implementSendChannelMessageComReqDto_1.setIsAssistant("FALSE");//sourceId:1441998_1_57379
                implementSendChannelMessageComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1442010_1_57379
                implementSendChannelMessageComReqDto_1.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1442011_1_57379
                if (queryIntegerVariableDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_1.setMessageLocationTypeCode(queryIntegerVariableDetailComRespDto.getCustomField5());//SimpleFieldAssign//sourceId:1442002_1_57379
                    implementSendChannelMessageComReqDto_1.setGreetingMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField3());//SimpleFieldAssign//sourceId:1442631_1_57379
                    implementSendChannelMessageComReqDto_1.setMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField());//SimpleFieldAssign//sourceId:1442007_1_57379
                }
                if (reqDto != null) {
                    implementSendChannelMessageComReqDto_1.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1475847_1_57379
                    implementSendChannelMessageComReqDto_1.setChannelName(reqDto.getChannelName());//SimpleFieldAssign//sourceId:1441988_1_57379
                    implementSendChannelMessageComReqDto_1.setChannelLogo(reqDto.getChannelLogo());//SimpleFieldAssign//sourceId:1441989_1_57379
                    implementSendChannelMessageComReqDto_1.setChannelTypeCode(reqDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1442005_1_57379
                    implementSendChannelMessageComReqDto_1.setNewTableTypeCode(reqDto.getNewTableTypeCode());//SimpleFieldAssign//sourceId:1441990_1_57379
                    implementSendChannelMessageComReqDto_1.setNewEntityId(reqDto.getNewEntityId());//SimpleFieldAssign//sourceId:1441991_1_57379
                    implementSendChannelMessageComReqDto_1.setTableTypeCode(reqDto.getConTableTypeCode());//SimpleFieldAssign//sourceId:1442014_1_57379
                    implementSendChannelMessageComReqDto_1.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1442015_1_57379
                    implementSendChannelMessageComReqDto_1.setCooperateContentTypeCode(reqDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1442849_1_57379
                    implementSendChannelMessageComReqDto_1.setCooperateContentId(reqDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1442850_1_57379
                    implementSendChannelMessageComReqDto_1.setSurfaceContName(reqDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1442851_1_57379
                    implementSendChannelMessageComReqDto_1.setMediaType(reqDto.getMediaType());//SimpleFieldAssign//sourceId:1442852_1_57379
                    implementSendChannelMessageComReqDto_1.setMediaAddress(reqDto.getMediaAddress());//SimpleFieldAssign//sourceId:1442853_1_57379
                    implementSendChannelMessageComReqDto_1.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1442008_1_57379
                    implementSendChannelMessageComReqDto_1.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1442009_1_57379
                    implementSendChannelMessageComReqDto_1.setMessageContent(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441992_1_57379
                    implementSendChannelMessageComReqDto_1.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1442030_1_57379
                }
                if (generateSemanticInstanceStoryComRespDto_2 != null) {
                    implementSendChannelMessageComReqDto_1.setNewMessage(generateSemanticInstanceStoryComRespDto_2.getObjectName());//SimpleFieldAssign//sourceId:1442012_1_57379
                }
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_1.setNameOfSender(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1441994_1_57379
                    implementSendChannelMessageComReqDto_1.setSenderProfilePictureAddress(queryInductionRecordInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1441993_1_57379
                    implementSendChannelMessageComReqDto_1.setSenderDeptId(queryInductionRecordInfoDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1442025_1_57379
                    implementSendChannelMessageComReqDto_1.setSenderInductionRecordId(queryInductionRecordInfoDetailComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1442026_1_57379
                    implementSendChannelMessageComReqDto_1.setSenderOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1441996_1_57379
                    implementSendChannelMessageComReqDto_1.setSenderUserId(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1441997_1_57379
                }

                /*D2执行发送通道N人消息(初次或后续)[7494]   */
                Assert.isNull(implementSendChannelMessageComReqDto_1.getBorcScene(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-toB或toC场景不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getPlatformReplace(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-是否平台代操作不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageLocationTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息位置标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMsgChannelClassCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息使用通道类别不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getChannelName(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道名称不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getChannelLogo(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道缩略图地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getChannelTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getNewTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getNewEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表主键 ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getGreetingMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-欢迎语消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getNewMessage(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-最新消息文本不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageTitle(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息标题不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageContent(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息内容不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getHandleType(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-处理类型不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageImportantLevel(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getNameOfSender(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方姓名不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSenderProfilePictureAddress(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方头像地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getMessageRole(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方角色不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSenderDeptId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职部门ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSenderInductionRecordId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职记录ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSenderOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSenderUserId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方账号ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getIsAssistant(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方是否助手不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getSpaceId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于空间ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_1.getAppId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于联盟应用ID不能为空", false);
                implementSendChannelMessageComRespDto_2 = fwCompMessageClient.implementSendChannelMessageCom(implementSendChannelMessageComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                implementSendChannelMessageComRespDto_1 = implementSendChannelMessageComRespDto_2;
            }
        } else if ((reqDto != null && reqDto.getChannelAppCliqueType() != null && reqDto.getChannelAppCliqueType().equals("ADD_CLIQUE") && reqDto != null && reqDto.getNewEntityId() == null && reqDto != null && reqDto.getNewTableTypeCode() == null && reqDto != null && reqDto.getConTableTypeCode() == null && reqDto != null && reqDto.getConEntityId() == null && reqDto != null && reqDto.getThemeContentTypeCode() == null && reqDto != null && reqDto.getThemeContentId() == null)) {
            //elseif((B2判断进入单个内容会话(公共).通道应用小圈子类型 等于 增小圈子 and B2判断进入单个内容会话(公共).通道归属主体内容ID 值等于空  and B2判断进入单个内容会话(公共).通道归属主体内容类型编码 值等于空  and B2判断进入单个内容会话(公共).内容表编码 值等于空  and B2判断进入单个内容会话(公共).内容表主键ID 值等于空  and B2判断进入单个内容会话(公共).主题内容类型编码 值等于空  and B2判断进入单个内容会话(公共).主题内容ID 值等于空 ))  57354

            ImplementAddSinglePersonSmallCircleComRespDto implementAddSinglePersonSmallCircleComRespDto = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                ImplementAddSinglePersonSmallCircleComReqDto implementAddSinglePersonSmallCircleComReqDto = new ImplementAddSinglePersonSmallCircleComReqDto();
                implementAddSinglePersonSmallCircleComReqDto.setRoleCode("VIRTUAL_ORG_ADMIN");//CUSTOM_CONVENTION//sourceId:1491636_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setVirtualOrganizationPosition("虚拟组织管理员");//CUSTOM_CONVENTION//sourceId:1491637_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setIsAdmin("TRUE");//sourceId:1491640_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setTableTypeCode("OMS_MESSAGE_CHANNEL");//sourceId:1491641_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1491642_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setEvaluationTemplateType("OMS_FRAMEWORK_SPACE");//sourceId:1491643_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setEvaluationTemplateId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1491644_1_59855
                implementAddSinglePersonSmallCircleComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1491645_1_59855
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementAddSinglePersonSmallCircleComReqDto.setVirtualOrgInductionRecordId(queryInductionRecordInfoDetailComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1491633_1_59855
                    implementAddSinglePersonSmallCircleComReqDto.setOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1491634_1_59855
                    implementAddSinglePersonSmallCircleComReqDto.setUserId(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1491635_1_59855
                    implementAddSinglePersonSmallCircleComReqDto.setFirstLetter(queryInductionRecordInfoDetailComRespDto.getFirstLetter());//SimpleFieldAssign//sourceId:1491639_1_59855
                }

                /*D3执行新增单个人小圈子(公共)[8311]   */
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getVirtualOrgInductionRecordId(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-虚拟组织成员就职记录ID不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-身份人员ID不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getUserId(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-个人账号不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getRoleCode(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-角色标识不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getVirtualOrganizationPosition(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-组内职务名称不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getFirstLetter(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-备注首位字母不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getIsAdmin(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-是否管理员不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getTableTypeCode(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-冗余内容表类型编码不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getEntityId(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-冗余内容表主键ID不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getEvaluationTemplateType(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-归属对象类型不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getEvaluationTemplateId(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-归属对象ID不能为空", false);
                Assert.isNull(implementAddSinglePersonSmallCircleComReqDto.getSubjectLifeCycle(), "B2判断进入单个内容会话(公共)-D3执行新增单个人小圈子(公共)-主体生命周期不能为空", false);
                implementAddSinglePersonSmallCircleComRespDto = fwAppVirtualOrgClient.implementAddSinglePersonSmallCircleCom(implementAddSinglePersonSmallCircleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto_4 = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto_2 = new GenerateSemanticInstanceStoryComReqDto();
                generateSemanticInstanceStoryComReqDto_2.setTemplateSemanticEngineCode("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1492490_1_59873
                generateSemanticInstanceStoryComReqDto_2.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1492484_1_59873
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto_2.setFirstFieldValue(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1492485_1_59873
                }

                /*D2生成“我是**”[8234]   */
                Assert.isNull(generateSemanticInstanceStoryComReqDto_2.getTemplateSemanticEngineCode(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-模板引擎标识不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_2.getFirstFieldName(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_2.getFirstFieldValue(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段值不能为空", false);
                generateSemanticInstanceStoryComRespDto_4 = fwCompTemplateEngineClient.generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementSendChannelMessageComRespDto implementSendChannelMessageComRespDto_3 = null;
            if (queryIntegerVariableDetailComRespDto != null && implementAddSinglePersonSmallCircleComRespDto != null && generateSemanticInstanceStoryComRespDto_4 != null && queryInductionRecordInfoDetailComRespDto != null) {
                ImplementSendChannelMessageComReqDto implementSendChannelMessageComReqDto_2 = new ImplementSendChannelMessageComReqDto();
                implementSendChannelMessageComReqDto_2.setBorcScene("TOB_SCENE");//sourceId:1442003_1_57370
                implementSendChannelMessageComReqDto_2.setPlatformReplace("FALSE");//sourceId:1442004_1_57370
                implementSendChannelMessageComReqDto_2.setMessageTitle("我的想法");//CUSTOM_CONVENTION//sourceId:1540470_1_57370
                implementSendChannelMessageComReqDto_2.setHandleType("NO_NEED_HANDLING");//sourceId:1442028_1_57370
                implementSendChannelMessageComReqDto_2.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1442006_1_57370
                implementSendChannelMessageComReqDto_2.setMessageRole("user");//sourceId:1441995_1_57370
                implementSendChannelMessageComReqDto_2.setIsAssistant("FALSE");//sourceId:1441998_1_57370
                implementSendChannelMessageComReqDto_2.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1442010_1_57370
                implementSendChannelMessageComReqDto_2.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1442011_1_57370
                if (queryIntegerVariableDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_2.setMessageLocationTypeCode(queryIntegerVariableDetailComRespDto.getCustomField5());//SimpleFieldAssign//sourceId:1442002_1_57370
                    implementSendChannelMessageComReqDto_2.setNewTableTypeCode(queryIntegerVariableDetailComRespDto.getNewTableTypeCode());//SimpleFieldAssign//sourceId:1441990_1_57370
                    implementSendChannelMessageComReqDto_2.setTableTypeCode(queryIntegerVariableDetailComRespDto.getConTableTypeCode());//SimpleFieldAssign//sourceId:1442014_1_57370
                    implementSendChannelMessageComReqDto_2.setGreetingMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField3());//SimpleFieldAssign//sourceId:1442631_1_57370
                    implementSendChannelMessageComReqDto_2.setMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField());//SimpleFieldAssign//sourceId:1442007_1_57370
                }
                if (implementAddSinglePersonSmallCircleComRespDto != null) {
                    implementSendChannelMessageComReqDto_2.setVirtualOrgId(implementAddSinglePersonSmallCircleComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1442000_1_57370
                    implementSendChannelMessageComReqDto_2.setNewEntityId(implementAddSinglePersonSmallCircleComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1441991_1_57370
                    implementSendChannelMessageComReqDto_2.setEntityId(implementAddSinglePersonSmallCircleComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1442015_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderVirtualOrgMemberId(implementAddSinglePersonSmallCircleComRespDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1442024_1_57370
                }
                if (reqDto != null) {
                    implementSendChannelMessageComReqDto_2.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1475847_1_57370
                    implementSendChannelMessageComReqDto_2.setChannelName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441988_1_57370
                    implementSendChannelMessageComReqDto_2.setChannelLogo(reqDto.getChannelLogo());//SimpleFieldAssign//sourceId:1441989_1_57370
                    implementSendChannelMessageComReqDto_2.setChannelTypeCode(reqDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1442005_1_57370
                    implementSendChannelMessageComReqDto_2.setMessageContent(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441992_1_57370
                    implementSendChannelMessageComReqDto_2.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1442030_1_57370
                }
                if (generateSemanticInstanceStoryComRespDto_4 != null) {
                    implementSendChannelMessageComReqDto_2.setNewMessage(generateSemanticInstanceStoryComRespDto_4.getObjectName());//SimpleFieldAssign//sourceId:1442012_1_57370
                }
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_2.setNameOfSender(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1441994_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderProfilePictureAddress(queryInductionRecordInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1441993_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderDeptId(queryInductionRecordInfoDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1442025_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderInductionRecordId(queryInductionRecordInfoDetailComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1442026_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1441996_1_57370
                    implementSendChannelMessageComReqDto_2.setSenderUserId(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1441997_1_57370
                }

                /*D2执行发送通道N人消息(初次或后续)[7494]   */
                Assert.isNull(implementSendChannelMessageComReqDto_2.getBorcScene(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-toB或toC场景不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getPlatformReplace(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-是否平台代操作不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageLocationTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息位置标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMsgChannelClassCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息使用通道类别不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getChannelName(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道名称不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getChannelLogo(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道缩略图地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getChannelTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getNewTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getNewEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表主键 ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getGreetingMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-欢迎语消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getNewMessage(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-最新消息文本不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageTitle(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息标题不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageContent(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息内容不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getHandleType(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-处理类型不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageImportantLevel(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getNameOfSender(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方姓名不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSenderProfilePictureAddress(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方头像地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getMessageRole(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方角色不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSenderDeptId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职部门ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSenderInductionRecordId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职记录ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSenderOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSenderUserId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方账号ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getIsAssistant(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方是否助手不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getSpaceId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于空间ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_2.getAppId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于联盟应用ID不能为空", false);
                implementSendChannelMessageComRespDto_3 = fwCompMessageClient.implementSendChannelMessageCom(implementSendChannelMessageComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                implementSendChannelMessageComRespDto_1 = implementSendChannelMessageComRespDto_3;
            }
            WriteBackChannelVirtualOrgAndVirtualOrgMemberComRespDto writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = null;
            if (implementAddSinglePersonSmallCircleComRespDto != null && implementSendChannelMessageComRespDto_3 != null) {
                WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto = new WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto();
                if (implementAddSinglePersonSmallCircleComRespDto != null) {
                    writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setVirtualOrgId(implementAddSinglePersonSmallCircleComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1442649_1_57372
                }
                if (implementSendChannelMessageComRespDto_3 != null) {
                    writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setMessageChannelId(implementSendChannelMessageComRespDto_3.getMessageChannelId());//SimpleFieldAssign//sourceId:1442650_1_57372
                }

                /*D3-回写通道虚拟组织及成员信息(公共)[7339]   */
                Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getVirtualOrgId(), "B2判断进入单个内容会话(公共)-D3-回写通道虚拟组织及成员信息(公共)-虚拟组织ID不能为空", false);
                Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getMessageChannelId(), "B2判断进入单个内容会话(公共)-D3-回写通道虚拟组织及成员信息(公共)-通道ID不能为空", false);
                writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = fwAppMessageClient.writeBackChannelVirtualOrgAndVirtualOrgMemberCom(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getChannelAppCliqueType() != null && reqDto.getChannelAppCliqueType().equals("NO_CLIQUE") && reqDto != null && reqDto.getMessageTemplateCode() != null)) {
            //elseif((B2判断进入单个内容会话(公共).通道应用小圈子类型 等于 无小圈子 and B2判断进入单个内容会话(公共).消息模板标识 值不等于空 ))  59958

            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto_5 = null;
            if (queryInductionRecordInfoDetailComRespDto != null) {
                GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto_3 = new GenerateSemanticInstanceStoryComReqDto();
                generateSemanticInstanceStoryComReqDto_3.setTemplateSemanticEngineCode("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1492490_1_59959
                generateSemanticInstanceStoryComReqDto_3.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1492484_1_59959
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    generateSemanticInstanceStoryComReqDto_3.setFirstFieldValue(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1492485_1_59959
                }

                /*D2生成“我是**”[8234]   */
                Assert.isNull(generateSemanticInstanceStoryComReqDto_3.getTemplateSemanticEngineCode(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-模板引擎标识不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_3.getFirstFieldName(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段名不能为空", false);
                Assert.isNull(generateSemanticInstanceStoryComReqDto_3.getFirstFieldValue(), "B2判断进入单个内容会话(公共)-D2生成“我是**”-第一个字段字段值不能为空", false);
                generateSemanticInstanceStoryComRespDto_5 = fwCompTemplateEngineClient.generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementSendChannelMessageComRespDto implementSendChannelMessageComRespDto_4 = null;
            if (queryIntegerVariableDetailComRespDto != null && generateSemanticInstanceStoryComRespDto_5 != null && queryInductionRecordInfoDetailComRespDto != null) {
                ImplementSendChannelMessageComReqDto implementSendChannelMessageComReqDto_3 = new ImplementSendChannelMessageComReqDto();
                implementSendChannelMessageComReqDto_3.setBorcScene("TOB_SCENE");//sourceId:1442003_1_59960
                implementSendChannelMessageComReqDto_3.setPlatformReplace("FALSE");//sourceId:1442004_1_59960
                implementSendChannelMessageComReqDto_3.setMessageTitle("我的想法");//CUSTOM_CONVENTION//sourceId:1540470_1_59960
                implementSendChannelMessageComReqDto_3.setHandleType("NO_NEED_HANDLING");//sourceId:1442028_1_59960
                implementSendChannelMessageComReqDto_3.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1442006_1_59960
                implementSendChannelMessageComReqDto_3.setMessageRole("user");//sourceId:1441995_1_59960
                implementSendChannelMessageComReqDto_3.setIsAssistant("FALSE");//sourceId:1441998_1_59960
                implementSendChannelMessageComReqDto_3.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1442010_1_59960
                implementSendChannelMessageComReqDto_3.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1442011_1_59960
                if (queryIntegerVariableDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_3.setMessageLocationTypeCode(queryIntegerVariableDetailComRespDto.getCustomField6());//SimpleFieldAssign//sourceId:1442002_1_59960
                    implementSendChannelMessageComReqDto_3.setGreetingMessageTemplateCode(queryIntegerVariableDetailComRespDto.getCustomField3());//SimpleFieldAssign//sourceId:1442631_1_59960
                }
                if (reqDto != null) {
                    implementSendChannelMessageComReqDto_3.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1475847_1_59960
                    implementSendChannelMessageComReqDto_3.setChannelName(reqDto.getChannelName());//SimpleFieldAssign//sourceId:1441988_1_59960
                    implementSendChannelMessageComReqDto_3.setChannelLogo(reqDto.getChannelLogo());//SimpleFieldAssign//sourceId:1441989_1_59960
                    implementSendChannelMessageComReqDto_3.setChannelTypeCode(reqDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1442005_1_59960
                    implementSendChannelMessageComReqDto_3.setNewTableTypeCode(reqDto.getNewTableTypeCode());//SimpleFieldAssign//sourceId:1441990_1_59960
                    implementSendChannelMessageComReqDto_3.setNewEntityId(reqDto.getNewEntityId());//SimpleFieldAssign//sourceId:1441991_1_59960
                    implementSendChannelMessageComReqDto_3.setTableTypeCode(reqDto.getConTableTypeCode());//SimpleFieldAssign//sourceId:1442014_1_59960
                    implementSendChannelMessageComReqDto_3.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1442015_1_59960
                    implementSendChannelMessageComReqDto_3.setCooperateContentTypeCode(reqDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1442849_1_59960
                    implementSendChannelMessageComReqDto_3.setCooperateContentId(reqDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1442850_1_59960
                    implementSendChannelMessageComReqDto_3.setSurfaceContName(reqDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1442851_1_59960
                    implementSendChannelMessageComReqDto_3.setMediaType(reqDto.getMediaType());//SimpleFieldAssign//sourceId:1442852_1_59960
                    implementSendChannelMessageComReqDto_3.setMediaAddress(reqDto.getMediaAddress());//SimpleFieldAssign//sourceId:1442853_1_59960
                    implementSendChannelMessageComReqDto_3.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1442008_1_59960
                    implementSendChannelMessageComReqDto_3.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1442009_1_59960
                    implementSendChannelMessageComReqDto_3.setMessageTemplateCode(reqDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1442007_1_59960
                    implementSendChannelMessageComReqDto_3.setMessageContent(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441992_1_59960
                    implementSendChannelMessageComReqDto_3.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1442030_1_59960
                }
                if (generateSemanticInstanceStoryComRespDto_5 != null) {
                    implementSendChannelMessageComReqDto_3.setNewMessage(generateSemanticInstanceStoryComRespDto_5.getObjectName());//SimpleFieldAssign//sourceId:1442012_1_59960
                }
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    implementSendChannelMessageComReqDto_3.setNameOfSender(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1441994_1_59960
                    implementSendChannelMessageComReqDto_3.setSenderProfilePictureAddress(queryInductionRecordInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1441993_1_59960
                    implementSendChannelMessageComReqDto_3.setSenderDeptId(queryInductionRecordInfoDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1442025_1_59960
                    implementSendChannelMessageComReqDto_3.setSenderInductionRecordId(queryInductionRecordInfoDetailComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1442026_1_59960
                    implementSendChannelMessageComReqDto_3.setSenderOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1441996_1_59960
                    implementSendChannelMessageComReqDto_3.setSenderUserId(queryInductionRecordInfoDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1441997_1_59960
                }

                /*D2执行发送通道N人消息(初次或后续)[7494]   */
                Assert.isNull(implementSendChannelMessageComReqDto_3.getBorcScene(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-toB或toC场景不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getPlatformReplace(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-是否平台代操作不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageLocationTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息位置标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMsgChannelClassCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息使用通道类别不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getChannelName(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道名称不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getChannelLogo(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道缩略图地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getChannelTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getNewTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getNewEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getTableTypeCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表类型编码不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getEntityId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息归属内容表主键 ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getGreetingMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-欢迎语消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageTemplateCode(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息模板标识不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getNewMessage(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-最新消息文本不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageTitle(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息标题不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageContent(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息内容不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getHandleType(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-处理类型不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageImportantLevel(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getNameOfSender(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方姓名不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSenderProfilePictureAddress(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方头像地址不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getMessageRole(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方角色不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSenderDeptId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职部门ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSenderInductionRecordId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方就职记录ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSenderOriginalRoleMemberId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSenderUserId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方账号ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getIsAssistant(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-发送方是否助手不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getSpaceId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于空间ID不能为空", false);
                Assert.isNull(implementSendChannelMessageComReqDto_3.getAppId(), "B2判断进入单个内容会话(公共)-D2执行发送通道N人消息(初次或后续)-创建于联盟应用ID不能为空", false);
                implementSendChannelMessageComRespDto_4 = fwCompMessageClient.implementSendChannelMessageCom(implementSendChannelMessageComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


                implementSendChannelMessageComRespDto_1 = implementSendChannelMessageComRespDto_4;
            }
        }
        BffJudgeInSingleContentSessionComRespDto retData = new BffJudgeInSingleContentSessionComRespDto();
        if (implementSendChannelMessageComRespDto_1 != null) {
            retData.setMessageId(implementSendChannelMessageComRespDto_1.getMessageId());//SimpleFieldAssign//sourceId:1442701_1
            retData.setMemberChannelRelationId(implementSendChannelMessageComRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1442702_1
            retData.setMessageChannelId(implementSendChannelMessageComRespDto_1.getMessageChannelId());//SimpleFieldAssign//sourceId:1442703_1
        }


        return retData;
    }

    /**
     * B2查询通道下消息列表(公共)[7105]
     * gen by moon at 10/15/2023, 3:47:50 AM
     */
    @Trace(operationName = "B2查询通道下消息列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryChannelMessageListComRespDto queryChannelMessageListCom(BffQueryChannelMessageListComReqDto reqDto) {


        QueryChannelMessageListComRespDto queryChannelMessageListComRespDto_1 = null;
//步骤0: D2查询通道下消息列表(公共) - queryChannelMessageListCom
        QueryChannelMessageListComRespDto queryChannelMessageListComRespDto = null;
        QueryChannelMessageListComReqDto queryChannelMessageListComReqDto = new QueryChannelMessageListComReqDto();
        queryChannelMessageListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1004180_1
        if (reqDto != null) {
            queryChannelMessageListComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1004179_1
            queryChannelMessageListComReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1173252_1
        }

        /*D2查询通道下消息列表(公共)[7104]   */
        Assert.isNull(queryChannelMessageListComReqDto.getMessageChannelId(), "B2查询通道下消息列表(公共)-D2查询通道下消息列表(公共)-消息通道ID不能为空", false);
        Assert.isNull(queryChannelMessageListComReqDto.getSpaceId(), "B2查询通道下消息列表(公共)-D2查询通道下消息列表(公共)-创建于空间ID不能为空", false);
        queryChannelMessageListComRespDto = fwCompMessageClient.queryChannelMessageListCom(queryChannelMessageListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryChannelMessageListComRespDto_1 = queryChannelMessageListComRespDto;

        BffQueryChannelMessageListComRespDto retData = new BffQueryChannelMessageListComRespDto();
        if (queryChannelMessageListComRespDto_1 != null) {
            retData.setChannelMessageList(queryChannelMessageListComRespDto_1.getMessageList().stream().map(item -> BeanUtil.toBean(item, BffChannelMessageDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1004183_1
        }


        return retData;
    }

    /**
     * B2查询通道下消息详情(公共)[7114]
     * gen by moon at 12/29/2023, 7:05:04 AM
     */
    @Trace(operationName = "B2查询通道下消息详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryChannelMessageDetailComRespDto queryChannelMessageDetailCom(BffQueryChannelMessageDetailComReqDto reqDto) {


        QueryChannelMessageDetailComRespDto queryChannelMessageDetailComRespDto_1 = null;
        ImplementMsgChannelClassCodeTurnMsgLocationComRespDto implementMsgChannelClassCodeTurnMsgLocationComRespDto_1 = null;
        ImplementMarkdownTurnToTextComRespDto implementMarkdownTurnToTextComRespDto_1 = null;
//virtualUsage D2查询通道下消息详情(公共)  57613
        QueryChannelMessageDetailComRespDto queryChannelMessageDetailComRespDto = null;
        QueryChannelMessageDetailComReqDto queryChannelMessageDetailComReqDto = new QueryChannelMessageDetailComReqDto();
        queryChannelMessageDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1004428_1_57613
        queryChannelMessageDetailComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1208494_1_57613
        if (reqDto != null) {
            queryChannelMessageDetailComReqDto.setMessageImportantLevel(reqDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1004430_1_57613
            queryChannelMessageDetailComReqDto.setIsRead(reqDto.getIsRead());//SimpleFieldAssign//sourceId:1004431_1_57613
            queryChannelMessageDetailComReqDto.setSceneTypeCode(reqDto.getSceneTypeCode());//SimpleFieldAssign//sourceId:1092257_1_57613
            queryChannelMessageDetailComReqDto.setSceneSubTypeCode(reqDto.getSceneSubTypeCode());//SimpleFieldAssign//sourceId:1092258_1_57613
            queryChannelMessageDetailComReqDto.setVirtualImageViewType(reqDto.getVirtualImageViewType());//SimpleFieldAssign//sourceId:1102217_1_57613
        }

        /*D2查询通道下消息详情(公共)[7113]   */
        Assert.isNull(queryChannelMessageDetailComReqDto.getUserId(), "B2查询通道下消息详情(公共)-D2查询通道下消息详情(公共)-所属个人账号ID不能为空", false);
        Assert.isNull(queryChannelMessageDetailComReqDto.getOriginalRoleMemberId(), "B2查询通道下消息详情(公共)-D2查询通道下消息详情(公共)-所属身份人员ID不能为空", false);
        Assert.isNull(queryChannelMessageDetailComReqDto.getSceneTypeCode(), "B2查询通道下消息详情(公共)-D2查询通道下消息详情(公共)-使用大场景类型编码不能为空", false);
        Assert.isNull(queryChannelMessageDetailComReqDto.getSceneSubTypeCode(), "B2查询通道下消息详情(公共)-D2查询通道下消息详情(公共)-使用子场景类型编码不能为空", false);
        queryChannelMessageDetailComRespDto = fwCompMessageClient.queryChannelMessageDetailCom(queryChannelMessageDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryChannelMessageDetailComRespDto_1 = queryChannelMessageDetailComRespDto;
        if ((queryChannelMessageDetailComRespDto != null && queryChannelMessageDetailComRespDto.getMsgChannelClassCode() != null)) {
            //if(D2查询通道下消息详情(公共).消息使用通道类别 值不等于空 )  57614

            ImplementMsgChannelClassCodeTurnMsgLocationComRespDto implementMsgChannelClassCodeTurnMsgLocationComRespDto = null;
            if (queryChannelMessageDetailComRespDto != null) {
                ImplementMsgChannelClassCodeTurnMsgLocationComReqDto implementMsgChannelClassCodeTurnMsgLocationComReqDto = new ImplementMsgChannelClassCodeTurnMsgLocationComReqDto();
                if (queryChannelMessageDetailComRespDto != null) {
                    implementMsgChannelClassCodeTurnMsgLocationComReqDto.setMsgChannelClassCode(queryChannelMessageDetailComRespDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1221034_1_57616
                }

                /*D2-执行消息使用通道类别转消息位置(公共)[7630]   */
                Assert.isNull(implementMsgChannelClassCodeTurnMsgLocationComReqDto.getMsgChannelClassCode(), "B2查询通道下消息详情(公共)-D2-执行消息使用通道类别转消息位置(公共)-消息使用通道类别不能为空", false);
                implementMsgChannelClassCodeTurnMsgLocationComRespDto = fwCompMessageClient.implementMsgChannelClassCodeTurnMsgLocationCom(implementMsgChannelClassCodeTurnMsgLocationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                implementMsgChannelClassCodeTurnMsgLocationComRespDto_1 = implementMsgChannelClassCodeTurnMsgLocationComRespDto;
            }
        }
        if ((queryChannelMessageDetailComRespDto != null && queryChannelMessageDetailComRespDto.getMessageContent() != null)) {
            //if(D2查询通道下消息详情(公共).消息内容 值不等于空 )  57618

            ImplementMarkdownTurnToTextComRespDto implementMarkdownTurnToTextComRespDto = null;
            if (queryChannelMessageDetailComRespDto != null && queryChannelMessageDetailComRespDto != null && queryChannelMessageDetailComRespDto.getMessageContent() != null) {
                ImplementMarkdownTurnToTextComReqDto implementMarkdownTurnToTextComReqDto = new ImplementMarkdownTurnToTextComReqDto();
                if (queryChannelMessageDetailComRespDto != null) {
                    implementMarkdownTurnToTextComReqDto.setMarkdownContent(queryChannelMessageDetailComRespDto.getMessageContent());//SimpleFieldAssign//sourceId:1169582_1_57619
                }

                /*D2-执行markdown转文本(公共)[7517]   */
                Assert.isNull(implementMarkdownTurnToTextComReqDto.getMarkdownContent(), "B2查询通道下消息详情(公共)-D2-执行markdown转文本(公共)-markdown文本内容不能为空", false);
                implementMarkdownTurnToTextComRespDto = fwCompInterfaceModeClient.implementMarkdownTurnToTextCom(implementMarkdownTurnToTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                implementMarkdownTurnToTextComRespDto_1 = implementMarkdownTurnToTextComRespDto;
            }
        }
        BffQueryChannelMessageDetailComRespDto retData = new BffQueryChannelMessageDetailComRespDto();
        if (queryChannelMessageDetailComRespDto_1 != null) {
            retData.setMemberMessageId(queryChannelMessageDetailComRespDto_1.getMemberMessageId());//SimpleFieldAssign//sourceId:1004455_1
            retData.setMessageId(queryChannelMessageDetailComRespDto_1.getMessageId());//SimpleFieldAssign//sourceId:1004456_1
            retData.setMessageChannelId(queryChannelMessageDetailComRespDto_1.getMessageChannelId());//SimpleFieldAssign//sourceId:1004457_1
            retData.setMessageLocationRemindId(queryChannelMessageDetailComRespDto_1.getMessageLocationRemindId());//SimpleFieldAssign//sourceId:1111216_1
            retData.setMemberChannelRelationId(queryChannelMessageDetailComRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1004458_1
            retData.setMsgChannelClassCode(queryChannelMessageDetailComRespDto_1.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1447792_1
            retData.setOriginalRoleMemberId(queryChannelMessageDetailComRespDto_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1004459_1
            retData.setUserId(queryChannelMessageDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:1004460_1
            retData.setIsRead(queryChannelMessageDetailComRespDto_1.getIsRead());//SimpleFieldAssign//sourceId:1004461_1
            retData.setReadTime(queryChannelMessageDetailComRespDto_1.getReadTime());//SimpleFieldAssign//sourceId:1004462_1
            retData.setMessageTitle(queryChannelMessageDetailComRespDto_1.getMessageTitle());//SimpleFieldAssign//sourceId:1168341_1
            retData.setMessageContentUrl(queryChannelMessageDetailComRespDto_1.getMessageContentUrl());//SimpleFieldAssign//sourceId:1004464_1
            retData.setMessageRole(queryChannelMessageDetailComRespDto_1.getMessageRole());//SimpleFieldAssign//sourceId:1004465_1
            retData.setSenderOriginalRoleMemberId(queryChannelMessageDetailComRespDto_1.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1004466_1
            retData.setSenderUserId(queryChannelMessageDetailComRespDto_1.getSenderUserId());//SimpleFieldAssign//sourceId:1004467_1
            retData.setSenderProfilePictureAddress(queryChannelMessageDetailComRespDto_1.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1004468_1
            retData.setNameOfSender(queryChannelMessageDetailComRespDto_1.getNameOfSender());//SimpleFieldAssign//sourceId:1004469_1
            retData.setVirtualImageId(queryChannelMessageDetailComRespDto_1.getVirtualImageId());//SimpleFieldAssign//sourceId:1005184_1
            retData.setVirtualImageName(queryChannelMessageDetailComRespDto_1.getVirtualImageName());//SimpleFieldAssign//sourceId:1005185_1
            retData.setVirtualImage(queryChannelMessageDetailComRespDto_1.getVirtualImage());//SimpleFieldAssign//sourceId:1005186_1
            retData.setVirtualImageDesc(queryChannelMessageDetailComRespDto_1.getVirtualImageDesc());//SimpleFieldAssign//sourceId:1005187_1
            retData.setCharacterClassicPhrase(queryChannelMessageDetailComRespDto_1.getCharacterClassicPhrase());//SimpleFieldAssign//sourceId:1005188_1
            retData.setIsCustomImage(queryChannelMessageDetailComRespDto_1.getIsCustomImage());//SimpleFieldAssign//sourceId:1005189_1
            retData.setOperateTime(queryChannelMessageDetailComRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:1004470_1
        }
        if (implementMsgChannelClassCodeTurnMsgLocationComRespDto_1 != null) {
            retData.setMessageLocationTypeCode(implementMsgChannelClassCodeTurnMsgLocationComRespDto_1.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1221452_1
        }
        if (implementMarkdownTurnToTextComRespDto_1 != null) {
            retData.setMessageContent(implementMarkdownTurnToTextComRespDto_1.getCustomText());//SimpleFieldAssign//sourceId:1447798_1
        }


        return retData;
    }

    /**
     * B2新增群里会话发消息N人(公共)[7037]
     * gen by moon at 12/28/2023, 7:21:22 PM
     */
    @Trace(operationName = "B2新增群里会话发消息N人(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddGroupSendMessagesNpeopleComRespDto addGroupSendMessagesNpeopleCom(BffAddGroupSendMessagesNpeopleComReqDto reqDto) {


        ImplementGroupSendMessagesNpeopleComRespDto implementGroupSendMessagesNpeopleComRespDto_1 = null;
//步骤0: D2查询通道详情(公共) - queryChannelDetailCom
        QueryChannelDetailComRespDto queryChannelDetailComRespDto = null;
        QueryChannelDetailComReqDto queryChannelDetailComReqDto = new QueryChannelDetailComReqDto();
        if (reqDto != null) {
            queryChannelDetailComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1110930_1
        }

        /*D2查询通道详情(公共)[7101]   */
        Assert.isNull(queryChannelDetailComReqDto.getMessageChannelId(), "B2新增群里会话发消息N人(公共)-D2查询通道详情(公共)-通道ID不能为空", false);
        queryChannelDetailComRespDto = fwCompMessageClient.queryChannelDetailCom(queryChannelDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D2执行群里会话发消息N人(公共) - implementGroupSendMessagesNpeopleCom
        ImplementGroupSendMessagesNpeopleComRespDto implementGroupSendMessagesNpeopleComRespDto = null;
        if (queryChannelDetailComRespDto != null) {
            ImplementGroupSendMessagesNpeopleComReqDto implementGroupSendMessagesNpeopleComReqDto = new ImplementGroupSendMessagesNpeopleComReqDto();
            implementGroupSendMessagesNpeopleComReqDto.setMessageLocationTypeCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:996511_1
            implementGroupSendMessagesNpeopleComReqDto.setMessageTemplateCode("CHANNEL_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:996519_1
            implementGroupSendMessagesNpeopleComReqDto.setBorcScene("TOB_SCENE");//sourceId:996510_1
            implementGroupSendMessagesNpeopleComReqDto.setIsAssistant("FALSE");//sourceId:996528_1
            implementGroupSendMessagesNpeopleComReqDto.setMessageRole("user");//sourceId:996512_1
            implementGroupSendMessagesNpeopleComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:996513_1
            implementGroupSendMessagesNpeopleComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:996514_1
            implementGroupSendMessagesNpeopleComReqDto.setMessageImportantLevel(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:996525_1
            implementGroupSendMessagesNpeopleComReqDto.setHandleType("NO_NEED_HANDLING");//sourceId:1438959_1
            implementGroupSendMessagesNpeopleComReqDto.setPlatformReplace("FALSE");//sourceId:996522_1
            implementGroupSendMessagesNpeopleComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1111393_1
            implementGroupSendMessagesNpeopleComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:996523_1
            implementGroupSendMessagesNpeopleComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:996524_1
            implementGroupSendMessagesNpeopleComReqDto.setComNumField(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:996527_1
            if (reqDto != null) {
                implementGroupSendMessagesNpeopleComReqDto.setSenderInductionRecordId(reqDto.getSenderInductionRecordId());//SimpleFieldAssign//sourceId:1414774_1
                implementGroupSendMessagesNpeopleComReqDto.setSenderProfilePictureAddress(reqDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:996515_1
                implementGroupSendMessagesNpeopleComReqDto.setNameOfSender(reqDto.getNameOfSender());//SimpleFieldAssign//sourceId:996516_1
                implementGroupSendMessagesNpeopleComReqDto.setSenderVirtualOrgMemberId(reqDto.getSenderVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1414772_1
                implementGroupSendMessagesNpeopleComReqDto.setSenderDeptId(reqDto.getSenderDeptId());//SimpleFieldAssign//sourceId:1414773_1
                implementGroupSendMessagesNpeopleComReqDto.setMessageContent(reqDto.getMessageContent());//SimpleFieldAssign//sourceId:996526_1
                implementGroupSendMessagesNpeopleComReqDto.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1438960_1
                implementGroupSendMessagesNpeopleComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:996520_1
                implementGroupSendMessagesNpeopleComReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:996521_1
            }
            if (queryChannelDetailComRespDto != null) {
                implementGroupSendMessagesNpeopleComReqDto.setSurfaceCode(queryChannelDetailComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:996517_1
                implementGroupSendMessagesNpeopleComReqDto.setEntityId(queryChannelDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:996518_1
                implementGroupSendMessagesNpeopleComReqDto.setThemeContentTypeCode(queryChannelDetailComRespDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1413931_1
                implementGroupSendMessagesNpeopleComReqDto.setThemeContentId(queryChannelDetailComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1413932_1
                implementGroupSendMessagesNpeopleComReqDto.setChannelTypeCode(queryChannelDetailComRespDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1109721_1
                implementGroupSendMessagesNpeopleComReqDto.setMsgChannelClassCode(queryChannelDetailComRespDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1447807_1
            }

            /*D2执行群里会话发消息N人(公共)[7028]   */
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageLocationTypeCode(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息位置标识不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageTemplateCode(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getBorcScene(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-toB或toC场景不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getIsAssistant(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方是否助手不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageRole(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方角色不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getSenderOriginalRoleMemberId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方身份人员ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getSenderUserId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方账号ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getSenderProfilePictureAddress(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方头像地址不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getNameOfSender(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-发送方姓名不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageImportantLevel(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息重要紧急度层级不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getSurfaceCode(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-归属内容类型编码不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getEntityId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-归属内容ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageContent(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息内容不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getHandleType(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-处理类型不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMessageChannelId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息通道ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getChannelTypeCode(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getMsgChannelClassCode(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-消息使用通道类别不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getPlatformReplace(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-是否平台代操作不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getOperateTime(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-操作时间不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getSpaceId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getAppId(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-创建于联盟应用ID不能为空", false);
            Assert.isNull(implementGroupSendMessagesNpeopleComReqDto.getComNumField(), "B2新增群里会话发消息N人(公共)-D2执行群里会话发消息N人(公共)-通用数值字段（整数型）不能为空", false);
            implementGroupSendMessagesNpeopleComRespDto = fwCompMessageClient.implementGroupSendMessagesNpeopleCom(implementGroupSendMessagesNpeopleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementGroupSendMessagesNpeopleComRespDto_1 = implementGroupSendMessagesNpeopleComRespDto;
        }

        BffAddGroupSendMessagesNpeopleComRespDto retData = new BffAddGroupSendMessagesNpeopleComRespDto();
        if (implementGroupSendMessagesNpeopleComRespDto_1 != null) {
            retData.setMessageId(implementGroupSendMessagesNpeopleComRespDto_1.getMessageId());//SimpleFieldAssign//sourceId:1414781_1
        }


        return retData;
    }

    /**
     * B2查询会话通道详情[7310]
     * gen by moon at 1/18/2024, 2:09:55 AM
     */
    @Trace(operationName = "B2查询会话通道详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySessionChannelDetailRespDto querySessionChannelDetail(BffQuerySessionChannelDetailReqDto reqDto) {


        QuerySessionChannelDetailRespDto querySessionChannelDetailRespDto_1 = null;
        QueryCircleMemberInfoDetailComRespDto queryCircleMemberInfoDetailComRespDto_1 = null;
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//virtualUsage D2查询会话通道详情  47905
        QuerySessionChannelDetailRespDto querySessionChannelDetailRespDto = null;
        QuerySessionChannelDetailReqDto querySessionChannelDetailReqDto = new QuerySessionChannelDetailReqDto();
        querySessionChannelDetailReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1102234_1_47905
        querySessionChannelDetailReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1093068_1_47905
        querySessionChannelDetailReqDto.setChannelSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1093069_1_47905
        if (reqDto != null) {
            querySessionChannelDetailReqDto.setChannelId(reqDto.getChannelId());//SimpleFieldAssign//sourceId:1093065_1_47905
            querySessionChannelDetailReqDto.setSceneTypeCode(reqDto.getSceneTypeCode());//SimpleFieldAssign//sourceId:1102235_1_47905
            querySessionChannelDetailReqDto.setSceneSubTypeCode(reqDto.getSceneSubTypeCode());//SimpleFieldAssign//sourceId:1102236_1_47905
        }

        /*D2查询会话通道详情[7311]   */
        Assert.isNull(querySessionChannelDetailReqDto.getChannelId(), "B2查询会话通道详情-D2查询会话通道详情-通道ID不能为空", false);
        Assert.isNull(querySessionChannelDetailReqDto.getOriginalRoleMemberId(), "B2查询会话通道详情-D2查询会话通道详情-归属身份人员ID不能为空", false);
        Assert.isNull(querySessionChannelDetailReqDto.getUserId(), "B2查询会话通道详情-D2查询会话通道详情-归属个人账号ID不能为空", false);
        Assert.isNull(querySessionChannelDetailReqDto.getChannelSpaceId(), "B2查询会话通道详情-D2查询会话通道详情-通道归属空间ID不能为空", false);
        Assert.isNull(querySessionChannelDetailReqDto.getSceneTypeCode(), "B2查询会话通道详情-D2查询会话通道详情-使用大场景类型编码不能为空", false);
        Assert.isNull(querySessionChannelDetailReqDto.getSceneSubTypeCode(), "B2查询会话通道详情-D2查询会话通道详情-使用子场景类型编码不能为空", false);
        querySessionChannelDetailRespDto = fwCompMessageClient.querySessionChannelDetail(querySessionChannelDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
        Assert.isTrue(querySessionChannelDetailRespDto == null || querySessionChannelDetailRespDto.getEntityId() == null, "找不到数据，系统异常", false);

        querySessionChannelDetailRespDto_1 = querySessionChannelDetailRespDto;
        if ((querySessionChannelDetailRespDto != null && querySessionChannelDetailRespDto.getVirtualOrgId() != null && !(querySessionChannelDetailRespDto != null && querySessionChannelDetailRespDto.getTableTypeCode() != null && querySessionChannelDetailRespDto.getTableTypeCode().equals("OMS_VIRTUAL_ORG")))) {
            //if((D2查询会话通道详情.归属虚拟组织ID 值不等于空  and D2查询会话通道详情.归属主体内容类型编码 不等于 虚拟组织表))  56651

            QueryCircleMemberInfoDetailComRespDto queryCircleMemberInfoDetailComRespDto = null;
            if (querySessionChannelDetailRespDto != null) {
                QueryCircleMemberInfoDetailComReqDto queryCircleMemberInfoDetailComReqDto = new QueryCircleMemberInfoDetailComReqDto();
                if (querySessionChannelDetailRespDto != null) {
                    queryCircleMemberInfoDetailComReqDto.setEntityId(querySessionChannelDetailRespDto.getEntityId());//SimpleFieldAssign//sourceId:1095739_1_59278
                    queryCircleMemberInfoDetailComReqDto.setVirtualOrgId(querySessionChannelDetailRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1095740_1_59278
                }

                /*D3查当前用户是否通道管理员[7325]   */
                Assert.isNull(queryCircleMemberInfoDetailComReqDto.getEntityId(), "B2查询会话通道详情-D3查当前用户是否通道管理员-冗余内容表主键ID不能为空", false);
                Assert.isNull(queryCircleMemberInfoDetailComReqDto.getVirtualOrgId(), "B2查询会话通道详情-D3查当前用户是否通道管理员-虚拟组织ID不能为空", false);
                queryCircleMemberInfoDetailComRespDto = fwAppMessageClient.queryCircleMemberInfoDetailCom(queryCircleMemberInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryCircleMemberInfoDetailComRespDto_1 = queryCircleMemberInfoDetailComRespDto;
            }
            QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
            if (querySessionChannelDetailRespDto != null) {
                QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
                queryVirtualOrgMemberDetailReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1414701_1_56652
                if (querySessionChannelDetailRespDto != null) {
                    queryVirtualOrgMemberDetailReqDto.setVirtualOrgId(querySessionChannelDetailRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1414700_1_56652
                    queryVirtualOrgMemberDetailReqDto.setEntityId(querySessionChannelDetailRespDto.getEntityId());//SimpleFieldAssign//sourceId:1414675_1_56652
                }

                /*D3-6查虚拟组织成员详情[2632]   */
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getOriginalRoleMemberId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-身份人员ID不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getVirtualOrgId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-虚拟组织ID不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto.getEntityId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-冗余内容表主键ID不能为空", false);
                queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
                Assert.isTrue(queryVirtualOrgMemberDetailRespDto == null || queryVirtualOrgMemberDetailRespDto.getVirtualOrgMemberId() == null || queryVirtualOrgMemberDetailRespDto == null || queryVirtualOrgMemberDetailRespDto.getVirtualOrgInductionRecordId() == null, "找不到数据，系统异常", false);

                queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto;
            }
            QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
            if (queryVirtualOrgMemberDetailRespDto != null) {
                QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
                queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1414754_1_59282
                if (queryVirtualOrgMemberDetailRespDto != null) {
                    queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryVirtualOrgMemberDetailRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1414746_1_59282
                }

                /*D1-3查询个人就职记录信息详情（公共）[715]   */
                Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
                Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
                queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
            }
        } else if ((querySessionChannelDetailRespDto != null && querySessionChannelDetailRespDto.getVirtualOrgId() == null)) {
            //elseif(D2查询会话通道详情.归属虚拟组织ID 值等于空 )  59279

            ObtainReceiveFieldComRespDto obtainReceiveFieldComRespDto = null;
            ObtainReceiveFieldComReqDto obtainReceiveFieldComReqDto = new ObtainReceiveFieldComReqDto();
            obtainReceiveFieldComReqDto.setInductionRecordId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1419939_1_59280

            /*D3获取接收字段服务(公共)[3774]   */
            Assert.isNull(obtainReceiveFieldComReqDto.getInductionRecordId(), "B2查询会话通道详情-D3获取接收字段服务(公共)-就职记录ID不能为空", false);
            obtainReceiveFieldComRespDto = fwAppDivineDataClient.obtainReceiveFieldCom(obtainReceiveFieldComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_2 = null;
            if (obtainReceiveFieldComRespDto != null) {
                QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto_1 = new QueryInductionRecordInfoDetailComReqDto();
                queryInductionRecordInfoDetailComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1414754_1_59281
                if (obtainReceiveFieldComRespDto != null) {
                    queryInductionRecordInfoDetailComReqDto_1.setInductionRecordId(obtainReceiveFieldComRespDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1414746_1_59281
                }

                /*D1-3查询个人就职记录信息详情（公共）[715]   */
                Assert.isNull(queryInductionRecordInfoDetailComReqDto_1.getInductionRecordId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
                Assert.isNull(queryInductionRecordInfoDetailComReqDto_1.getSpaceId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
                queryInductionRecordInfoDetailComRespDto_2 = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto_2;
            }
        } else if ((querySessionChannelDetailRespDto != null && querySessionChannelDetailRespDto.getVirtualOrgId() != null && querySessionChannelDetailRespDto != null && querySessionChannelDetailRespDto.getTableTypeCode() != null && querySessionChannelDetailRespDto.getTableTypeCode().equals("OMS_VIRTUAL_ORG"))) {
            //elseif((D2查询会话通道详情.归属虚拟组织ID 值不等于空  and D2查询会话通道详情.归属主体内容类型编码 等于 虚拟组织表))  59489

            QueryCircleMemberInfoDetailComRespDto queryCircleMemberInfoDetailComRespDto_2 = null;
            if (querySessionChannelDetailRespDto != null) {
                QueryCircleMemberInfoDetailComReqDto queryCircleMemberInfoDetailComReqDto_1 = new QueryCircleMemberInfoDetailComReqDto();
                if (querySessionChannelDetailRespDto != null) {
                    queryCircleMemberInfoDetailComReqDto_1.setEntityId(querySessionChannelDetailRespDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1095739_1_59490
                    queryCircleMemberInfoDetailComReqDto_1.setVirtualOrgId(querySessionChannelDetailRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1095740_1_59490
                }

                /*D3查当前用户是否通道管理员[7325]   */
                Assert.isNull(queryCircleMemberInfoDetailComReqDto_1.getEntityId(), "B2查询会话通道详情-D3查当前用户是否通道管理员-冗余内容表主键ID不能为空", false);
                Assert.isNull(queryCircleMemberInfoDetailComReqDto_1.getVirtualOrgId(), "B2查询会话通道详情-D3查当前用户是否通道管理员-虚拟组织ID不能为空", false);
                queryCircleMemberInfoDetailComRespDto_2 = fwAppMessageClient.queryCircleMemberInfoDetailCom(queryCircleMemberInfoDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                queryCircleMemberInfoDetailComRespDto_1 = queryCircleMemberInfoDetailComRespDto_2;
            }
            QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_2 = null;
            if (querySessionChannelDetailRespDto != null) {
                QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto_1 = new QueryVirtualOrgMemberDetailReqDto();
                queryVirtualOrgMemberDetailReqDto_1.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1414701_1_59491
                if (querySessionChannelDetailRespDto != null) {
                    queryVirtualOrgMemberDetailReqDto_1.setVirtualOrgId(querySessionChannelDetailRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1414700_1_59491
                    queryVirtualOrgMemberDetailReqDto_1.setEntityId(querySessionChannelDetailRespDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1414675_1_59491
                }

                /*D3-6查虚拟组织成员详情[2632]   */
                Assert.isNull(queryVirtualOrgMemberDetailReqDto_1.getOriginalRoleMemberId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-身份人员ID不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto_1.getVirtualOrgId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-虚拟组织ID不能为空", false);
                Assert.isNull(queryVirtualOrgMemberDetailReqDto_1.getEntityId(), "B2查询会话通道详情-D3-6查虚拟组织成员详情-冗余内容表主键ID不能为空", false);
                queryVirtualOrgMemberDetailRespDto_2 = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;
                Assert.isTrue(queryVirtualOrgMemberDetailRespDto_2 == null || queryVirtualOrgMemberDetailRespDto_2.getVirtualOrgMemberId() == null || queryVirtualOrgMemberDetailRespDto_2 == null || queryVirtualOrgMemberDetailRespDto_2.getVirtualOrgInductionRecordId() == null, "找不到数据，系统异常", false);

                queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto_2;
            }
            QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_3 = null;
            if (queryVirtualOrgMemberDetailRespDto_2 != null) {
                QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto_2 = new QueryInductionRecordInfoDetailComReqDto();
                queryInductionRecordInfoDetailComReqDto_2.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1414754_1_59492
                if (queryVirtualOrgMemberDetailRespDto_2 != null) {
                    queryInductionRecordInfoDetailComReqDto_2.setInductionRecordId(queryVirtualOrgMemberDetailRespDto_2.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1414746_1_59492
                }

                /*D1-3查询个人就职记录信息详情（公共）[715]   */
                Assert.isNull(queryInductionRecordInfoDetailComReqDto_2.getInductionRecordId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
                Assert.isNull(queryInductionRecordInfoDetailComReqDto_2.getSpaceId(), "B2查询会话通道详情-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
                queryInductionRecordInfoDetailComRespDto_3 = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto_3;
            }
        }
        BffQuerySessionChannelDetailRespDto retData = new BffQuerySessionChannelDetailRespDto();
        if (querySessionChannelDetailRespDto_1 != null) {
            retData.setMessageChannelId(querySessionChannelDetailRespDto_1.getMessageChannelId());//SimpleFieldAssign//sourceId:1098957_1
            retData.setChannelTypeCode(querySessionChannelDetailRespDto_1.getChannelTypeCode());//SimpleFieldAssign//sourceId:1097918_1
            retData.setChannelName(querySessionChannelDetailRespDto_1.getChannelName());//SimpleFieldAssign//sourceId:1093184_1
            retData.setChannelLogo(querySessionChannelDetailRespDto_1.getChannelLogo());//SimpleFieldAssign//sourceId:1093185_1
            retData.setMemberChannelRelationId(querySessionChannelDetailRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1098958_1
            retData.setEntityId(querySessionChannelDetailRespDto_1.getEntityId());//SimpleFieldAssign//sourceId:1110899_1
            retData.setIsSaveData(querySessionChannelDetailRespDto_1.getIsSaveData());//SimpleFieldAssign//sourceId:1107895_1
            retData.setVirtualImageId(querySessionChannelDetailRespDto_1.getVirtualImageId());//SimpleFieldAssign//sourceId:1093079_1
            retData.setVirtualImageName(querySessionChannelDetailRespDto_1.getVirtualImageName());//SimpleFieldAssign//sourceId:1093080_1
            retData.setVirtualImage(querySessionChannelDetailRespDto_1.getVirtualImage());//SimpleFieldAssign//sourceId:1093081_1
            retData.setVirtualOrgId(querySessionChannelDetailRespDto_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:1093186_1
        }
        if (queryCircleMemberInfoDetailComRespDto_1 != null) {
            retData.setIsAdmin(queryCircleMemberInfoDetailComRespDto_1.getIsAdmin());//SimpleFieldAssign//sourceId:1414671_1
        }
        if (queryVirtualOrgMemberDetailRespDto_1 != null) {
            retData.setVirtualOrgMemberId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1414766_1
            retData.setVirtualOrgInductionRecordId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1414767_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1414768_1
            retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:1414769_1
            retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1414770_1
            retData.setDeptId(queryInductionRecordInfoDetailComRespDto_1.getEntityId());//SimpleFieldAssign//sourceId:1414771_1
        }


        return retData;
    }

    /**
     * B3执行群里踢人(管理)[7353]
     * gen by moon at 8/9/2023, 7:58:36 PM
     */
    @Trace(operationName = "B3执行群里踢人(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementGroupEliminatePeopleRespDto implementGroupEliminatePeople(BffImplementGroupEliminatePeopleReqDto reqDto) {


        //步骤0: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
        queryUserInfoDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1106394_1

        /*D1-2查询个人资料详情(公共)[408]   */
        Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B3执行群里踢人(管理)-D1-2查询个人资料详情(公共)-账号不能为空", false);
        queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D2生成消息语义实例(公共) - generateMessageSemanticInstanceCom
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
        if (queryUserInfoDetailComRespDto != null) {
            GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
            generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("KICK_OUT_SINGLE_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1106377_1
            if (queryUserInfoDetailComRespDto != null) {
                generateMessageSemanticInstanceComReqDto.setIdCardName(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1106378_1
            }

            /*D2生成多人被“ xx ” 移出小岛[7038]   */
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B3执行群里踢人(管理)-D2生成多人被“ xx ” 移出小岛-模板引擎标识不能为空", false);
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "B3执行群里踢人(管理)-D2生成多人被“ xx ” 移出小岛-真实姓名不能为空", false);
            generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤2: D3执行群里踢人 - implementGroupEliminatePeople
        ImplementGroupEliminatePeopleRespDto implementGroupEliminatePeopleRespDto = null;
        if (generateMessageSemanticInstanceComRespDto != null) {
            ImplementGroupEliminatePeopleReqDto implementGroupEliminatePeopleReqDto = new ImplementGroupEliminatePeopleReqDto();
            implementGroupEliminatePeopleReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1106371_1
            implementGroupEliminatePeopleReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1106372_1
            implementGroupEliminatePeopleReqDto.setBorcScene("TOB_SCENE");//sourceId:1106376_1
            if (reqDto != null) {
                implementGroupEliminatePeopleReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1111189_1
                implementGroupEliminatePeopleReqDto.setChannelId(reqDto.getChannelId());//SimpleFieldAssign//sourceId:1106370_1
                implementGroupEliminatePeopleReqDto.setIsSaveData(reqDto.getIsSaveData());//SimpleFieldAssign//sourceId:1106375_1
            }
            if (generateMessageSemanticInstanceComRespDto != null) {
                implementGroupEliminatePeopleReqDto.setMessageContent(generateMessageSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1106369_1
            }
            if (queryUserInfoDetailComRespDto != null) {
                implementGroupEliminatePeopleReqDto.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1106373_1
                implementGroupEliminatePeopleReqDto.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1106374_1
            }

            /*D3执行群里踢人[7348]   */
            Assert.isNull(implementGroupEliminatePeopleReqDto.getVirtualOrgMemberId(), "B3执行群里踢人(管理)-D3执行群里踢人-虚拟组织成员ID不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getChannelId(), "B3执行群里踢人(管理)-D3执行群里踢人-通道ID不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getMessageContent(), "B3执行群里踢人(管理)-D3执行群里踢人-消息内容不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getSenderOriginalRoleMemberId(), "B3执行群里踢人(管理)-D3执行群里踢人-发送方身份人员ID不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getSenderUserId(), "B3执行群里踢人(管理)-D3执行群里踢人-发送方账号ID不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getSenderProfilePictureAddress(), "B3执行群里踢人(管理)-D3执行群里踢人-发送方头像地址不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getNameOfSender(), "B3执行群里踢人(管理)-D3执行群里踢人-发送方姓名不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getIsSaveData(), "B3执行群里踢人(管理)-D3执行群里踢人-是否退出保留不能为空", false);
            Assert.isNull(implementGroupEliminatePeopleReqDto.getBorcScene(), "B3执行群里踢人(管理)-D3执行群里踢人-toB或toC场景不能为空", false);
            implementGroupEliminatePeopleRespDto = fwAppMessageClient.implementGroupEliminatePeople(implementGroupEliminatePeopleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

        BffImplementGroupEliminatePeopleRespDto retData = new BffImplementGroupEliminatePeopleRespDto();


        return retData;
    }

    /**
     * B3查单内容会话虚拟形象[7354]
     * gen by moon at 12/25/2023, 1:47:52 PM
     */
    @Trace(operationName = "B3查单内容会话虚拟形象")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySingleContentSessionVirtualImageDetailRespDto querySingleContentSessionVirtualImageDetail(BffQuerySingleContentSessionVirtualImageDetailReqDto reqDto) {


        GenerateThirdPartyIntelligentQaSemanticInstanceComRespDto generateThirdPartyIntelligentQaSemanticInstanceComRespDto_1 = null;
//步骤0: D2生成第三方问答问题语义实例(公共) - generateThirdPartyIntelligentQaSemanticInstanceCom
        GenerateThirdPartyIntelligentQaSemanticInstanceComRespDto generateThirdPartyIntelligentQaSemanticInstanceComRespDto = null;
        GenerateThirdPartyIntelligentQaSemanticInstanceComReqDto generateThirdPartyIntelligentQaSemanticInstanceComReqDto = new GenerateThirdPartyIntelligentQaSemanticInstanceComReqDto();
        generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setTemplateSemanticEngineCode("REPORT_QA_CONTENT");//CUSTOM_CONVENTION//sourceId:1107845_1
        if (reqDto != null) {
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1108746_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setObjectName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1108747_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setProgressValue(reqDto.getProgressValue());//SimpleFieldAssign//sourceId:1107851_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setProgressFromLastRatio(reqDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:1107852_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setProgressValueUnit(reqDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:1108748_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:1107847_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setFromLastTargetLiftRatio(reqDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:1107848_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setActualValueUnit(reqDto.getActualValueUnit());//SimpleFieldAssign//sourceId:1108749_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setReach(reqDto.getReach());//SimpleFieldAssign//sourceId:1107849_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setActualFromLastTimeRatio(reqDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:1107850_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setReachUnit(reqDto.getReachUnit());//SimpleFieldAssign//sourceId:1108750_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setReportScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:1107867_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setFromLastRatioReportScore(reqDto.getFromLastRatioReportScore());//SimpleFieldAssign//sourceId:1107868_1
            generateThirdPartyIntelligentQaSemanticInstanceComReqDto.setReportScoreUnit(reqDto.getReportScoreUnit());//SimpleFieldAssign//sourceId:1108751_1
        }

        /*D2生成第三方问答问题语义实例(公共)[7357]   */
        Assert.isNull(generateThirdPartyIntelligentQaSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "B3查单内容会话虚拟形象-D2生成第三方问答问题语义实例(公共)-模板引擎标识不能为空", false);
        generateThirdPartyIntelligentQaSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateThirdPartyIntelligentQaSemanticInstanceCom(generateThirdPartyIntelligentQaSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        generateThirdPartyIntelligentQaSemanticInstanceComRespDto_1 = generateThirdPartyIntelligentQaSemanticInstanceComRespDto;

        BffQuerySingleContentSessionVirtualImageDetailRespDto retData = new BffQuerySingleContentSessionVirtualImageDetailRespDto();
        if (generateThirdPartyIntelligentQaSemanticInstanceComRespDto_1 != null) {
            retData.setMessageContent(generateThirdPartyIntelligentQaSemanticInstanceComRespDto_1.getMessageContent());//SimpleFieldAssign//sourceId:1444463_1
        }


        return retData;
    }

    /**
     * B2修改通道名称及头像(管理)[7359]
     * gen by moon at 11/1/2023, 6:51:29 PM
     */
    @Trace(operationName = "B2修改通道名称及头像(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateChannelNameRespDto updateChannelName(BffUpdateChannelNameReqDto reqDto) {


        //步骤0: D2修改通道名称 - updateChannelName
        UpdateChannelNameRespDto updateChannelNameRespDto = null;
        UpdateChannelNameReqDto updateChannelNameReqDto = new UpdateChannelNameReqDto();
        if (reqDto != null) {
            updateChannelNameReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1107974_1
            updateChannelNameReqDto.setChannelName(reqDto.getChannelName());//SimpleFieldAssign//sourceId:1107975_1
            updateChannelNameReqDto.setChannelLogo(reqDto.getChannelLogo());//SimpleFieldAssign//sourceId:1223973_1
        }

        /*D2修改通道名称[7360]   */
        Assert.isNull(updateChannelNameReqDto.getMessageChannelId(), "B2修改通道名称及头像(管理)-D2修改通道名称-通道ID不能为空", false);
        updateChannelNameRespDto = fwCompMessageClient.updateChannelName(updateChannelNameReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateChannelNameRespDto retData = new BffUpdateChannelNameRespDto();


        return retData;
    }

    /**
     * B2更新通道下消息已读[7364]
     * gen by moon at 10/26/2023, 11:22:47 PM
     */
    @Trace(operationName = "B2更新通道下消息已读")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffRefreshChannelMessageIsReadRespDto refreshChannelMessageIsRead(BffRefreshChannelMessageIsReadReqDto reqDto) {


        //步骤0: D2更新通道下消息已读(公共) - refreshChannelMessageIsReadCom
        RefreshChannelMessageIsReadComRespDto refreshChannelMessageIsReadComRespDto = null;
        RefreshChannelMessageIsReadComReqDto refreshChannelMessageIsReadComReqDto = new RefreshChannelMessageIsReadComReqDto();
        refreshChannelMessageIsReadComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1108919_1
        refreshChannelMessageIsReadComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1113301_1
        if (reqDto != null) {
            refreshChannelMessageIsReadComReqDto.setMemberChannelRelationId(reqDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1108918_1
            refreshChannelMessageIsReadComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1108921_1
        }

        /*D2更新通道下消息已读(公共)[7361]   */
        Assert.isNull(refreshChannelMessageIsReadComReqDto.getMemberChannelRelationId(), "B2更新通道下消息已读-D2更新通道下消息已读(公共)-成员通道关系ID不能为空", false);
        Assert.isNull(refreshChannelMessageIsReadComReqDto.getMessageLocationTypeCode(), "B2更新通道下消息已读-D2更新通道下消息已读(公共)-消息位置标识不能为空", false);
        Assert.isNull(refreshChannelMessageIsReadComReqDto.getOriginalRoleMemberId(), "B2更新通道下消息已读-D2更新通道下消息已读(公共)-归属身份人员ID不能为空", false);
        Assert.isNull(refreshChannelMessageIsReadComReqDto.getOperateTime(), "B2更新通道下消息已读-D2更新通道下消息已读(公共)-操作时间不能为空", false);
        refreshChannelMessageIsReadComRespDto = fwCompMessageClient.refreshChannelMessageIsReadCom(refreshChannelMessageIsReadComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffRefreshChannelMessageIsReadRespDto retData = new BffRefreshChannelMessageIsReadRespDto();


        return retData;
    }

    /**
     * B3-设置消息内容虚拟组织管理员[7344]
     * gen by moon at 8/6/2023, 11:50:25 PM
     */
    @Trace(operationName = "B3-设置消息内容虚拟组织管理员")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetMessageContentAdministratorRespDto setMessageContentAdministrator(BffSetMessageContentAdministratorReqDto reqDto) {


        //步骤0: D3-设置消息内容虚拟组织管理员(公共) - setMessageContentAdministratorCom
        SetMessageContentAdministratorComRespDto setMessageContentAdministratorComRespDto = null;
        SetMessageContentAdministratorComReqDto setMessageContentAdministratorComReqDto = new SetMessageContentAdministratorComReqDto();
        setMessageContentAdministratorComReqDto.setIsAdmin("TRUE");//sourceId:1104732_1
        if (reqDto != null) {
            setMessageContentAdministratorComReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1104731_1
        }

        /*D3-设置消息内容虚拟组织管理员(公共)[7342]   */
        Assert.isNull(setMessageContentAdministratorComReqDto.getVirtualOrgMemberId(), "B3-设置消息内容虚拟组织管理员-D3-设置消息内容虚拟组织管理员(公共)-虚拟组织成员ID不能为空", false);
        Assert.isNull(setMessageContentAdministratorComReqDto.getIsAdmin(), "B3-设置消息内容虚拟组织管理员-D3-设置消息内容虚拟组织管理员(公共)-是否管理员不能为空", false);
        setMessageContentAdministratorComRespDto = fwAppMessageClient.setMessageContentAdministratorCom(setMessageContentAdministratorComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffSetMessageContentAdministratorRespDto retData = new BffSetMessageContentAdministratorRespDto();


        return retData;
    }

    /**
     * B3-取消消息内容虚拟组织管理员[7345]
     * gen by moon at 8/6/2023, 11:50:32 PM
     */
    @Trace(operationName = "B3-取消消息内容虚拟组织管理员")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCancelMessageContentAdministratorRespDto cancelMessageContentAdministrator(BffCancelMessageContentAdministratorReqDto reqDto) {


        //步骤0: D3-设置消息内容虚拟组织管理员(公共) - setMessageContentAdministratorCom
        SetMessageContentAdministratorComRespDto setMessageContentAdministratorComRespDto = null;
        SetMessageContentAdministratorComReqDto setMessageContentAdministratorComReqDto = new SetMessageContentAdministratorComReqDto();
        setMessageContentAdministratorComReqDto.setIsAdmin("FALSE");//sourceId:1104735_1
        if (reqDto != null) {
            setMessageContentAdministratorComReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1104734_1
        }

        /*D3-设置消息内容虚拟组织管理员(公共)[7342]   */
        Assert.isNull(setMessageContentAdministratorComReqDto.getVirtualOrgMemberId(), "B3-取消消息内容虚拟组织管理员-D3-设置消息内容虚拟组织管理员(公共)-虚拟组织成员ID不能为空", false);
        Assert.isNull(setMessageContentAdministratorComReqDto.getIsAdmin(), "B3-取消消息内容虚拟组织管理员-D3-设置消息内容虚拟组织管理员(公共)-是否管理员不能为空", false);
        setMessageContentAdministratorComRespDto = fwAppMessageClient.setMessageContentAdministratorCom(setMessageContentAdministratorComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffCancelMessageContentAdministratorRespDto retData = new BffCancelMessageContentAdministratorRespDto();


        return retData;
    }

    /**
     * B2发起第三方智能问答会话(管理)[7366]
     * gen by moon at 12/15/2023, 2:55:52 AM
     */
    @Trace(operationName = "B2发起第三方智能问答会话(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffInitiateThirdPartyIntelligentQASessionRespDto initiateThirdPartyIntelligentQASession(BffInitiateThirdPartyIntelligentQASessionReqDto reqDto) {


        ImplementPullNPeopleBuildGroupComRespDto implementPullNPeopleBuildGroupComRespDto_1 = null;
//virtualUsage D1-获取助手等成员通道关系(公共)  48283
        ObtainChannelAndMemberInfoComRespDto obtainChannelAndMemberInfoComRespDto = null;
        ObtainChannelAndMemberInfoComReqDto obtainChannelAndMemberInfoComReqDto = new ObtainChannelAndMemberInfoComReqDto();
        obtainChannelAndMemberInfoComReqDto.setUniqueSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1111077_1_48283

        /*D1-获取助手等成员通道关系(公共)[7321]   */
        Assert.isNull(obtainChannelAndMemberInfoComReqDto.getUniqueSpaceId(), "B2发起第三方智能问答会话(管理)-D1-获取助手等成员通道关系(公共)-管理的空间ID不能为空", false);
        obtainChannelAndMemberInfoComRespDto = fwBaseMessageClient.obtainChannelAndMemberInfoCom(obtainChannelAndMemberInfoComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D1-2查询员工身份人员详情  48284
        QueryStaffBeginMemberDetailRespDto queryStaffBeginMemberDetailRespDto = null;
        QueryStaffBeginMemberDetailReqDto queryStaffBeginMemberDetailReqDto = new QueryStaffBeginMemberDetailReqDto();
        queryStaffBeginMemberDetailReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1111086_1_48284

        /*D1-2查询员工身份人员详情[392]   */
        Assert.isNull(queryStaffBeginMemberDetailReqDto.getOriginalRoleMemberId(), "B2发起第三方智能问答会话(管理)-D1-2查询员工身份人员详情-身份人员ID不能为空", false);
        queryStaffBeginMemberDetailRespDto = fwBaseMemberClient.queryStaffBeginMemberDetail(queryStaffBeginMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2将系统助手合并数据集  48324
        ImplementMulitDataToOneDatasComRespDto implementMulitDataToOneDatasComRespDto = null;
        if (obtainChannelAndMemberInfoComRespDto != null && queryStaffBeginMemberDetailRespDto != null) {
            ImplementMulitDataToOneDatasComReqDto implementMulitDataToOneDatasComReqDto = new ImplementMulitDataToOneDatasComReqDto();
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementMulitDataToOneDatasComReqDto.setCustomField(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1111346_1_48324
                implementMulitDataToOneDatasComReqDto.setCustomField1(obtainChannelAndMemberInfoComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:1111347_1_48324
            }
            if (queryStaffBeginMemberDetailRespDto != null) {
                implementMulitDataToOneDatasComReqDto.setCustomField2(queryStaffBeginMemberDetailRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1111354_1_48324
                implementMulitDataToOneDatasComReqDto.setCustomField3(queryStaffBeginMemberDetailRespDto.getUserId());//SimpleFieldAssign//sourceId:1111355_1_48324
            }

            /*D2将系统助手合并数据集[5869]   */
            Assert.isNull(implementMulitDataToOneDatasComReqDto.getCustomField(), "B2发起第三方智能问答会话(管理)-D2将系统助手合并数据集-第一条记录A字段不能为空", false);
            Assert.isNull(implementMulitDataToOneDatasComReqDto.getCustomField1(), "B2发起第三方智能问答会话(管理)-D2将系统助手合并数据集-第一条记录B字段不能为空", false);
            implementMulitDataToOneDatasComRespDto = fwCompInterfaceModeClient.implementMulitDataToOneDatasCom(implementMulitDataToOneDatasComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3-新增通道虚拟组织及成员(公共)  48287
        AddChannelVirtualOrgAndVirtualOrgMemberComRespDto addChannelVirtualOrgAndVirtualOrgMemberComRespDto = null;
        if (implementMulitDataToOneDatasComRespDto != null) {
            AddChannelVirtualOrgAndVirtualOrgMemberComReqDto addChannelVirtualOrgAndVirtualOrgMemberComReqDto = new AddChannelVirtualOrgAndVirtualOrgMemberComReqDto();
            addChannelVirtualOrgAndVirtualOrgMemberComReqDto.setEvaluationTemplateId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1111142_1_48287
            if (implementMulitDataToOneDatasComRespDto != null && implementMulitDataToOneDatasComRespDto.getMulitDataToOneDatasList() != null && !CollectionUtil.isEmpty(implementMulitDataToOneDatasComRespDto.getMulitDataToOneDatasList())) {
                addChannelVirtualOrgAndVirtualOrgMemberComReqDto.setVirtualOrgMemberList(//objList-to-objLists
                        implementMulitDataToOneDatasComRespDto.getMulitDataToOneDatasList().stream().map(item -> {
                            VirtualOrgMemberDto elm = new VirtualOrgMemberDto();
                            if (item != null) {
                                elm.setOriginalRoleMemberId(item.getCustomField1());//SimpleFieldAssign//sourceId:232505_2_48287
                                elm.setUserId(item.getCustomField2());//SimpleFieldAssign//sourceId:232506_2_48287
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1111141_1_48287
            }

            /*D3-新增通道虚拟组织及成员(公共)[7338]   */
            Assert.isNull(addChannelVirtualOrgAndVirtualOrgMemberComReqDto.getEvaluationTemplateId(), "B2发起第三方智能问答会话(管理)-D3-新增通道虚拟组织及成员(公共)-归属对象ID不能为空", false);
            addChannelVirtualOrgAndVirtualOrgMemberComRespDto = fwAppMessageClient.addChannelVirtualOrgAndVirtualOrgMemberCom(addChannelVirtualOrgAndVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2将系统助手合并数据集  48325
        ImplementMulitDataToOneDatasComRespDto implementMulitDataToOneDatasComRespDto_2 = null;
        if (obtainChannelAndMemberInfoComRespDto != null) {
            ImplementMulitDataToOneDatasComReqDto implementMulitDataToOneDatasComReqDto_1 = new ImplementMulitDataToOneDatasComReqDto();
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementMulitDataToOneDatasComReqDto_1.setCustomField(obtainChannelAndMemberInfoComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1111346_1_48325
                implementMulitDataToOneDatasComReqDto_1.setCustomField1(obtainChannelAndMemberInfoComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:1111347_1_48325
            }

            /*D2将系统助手合并数据集[5869]   */
            Assert.isNull(implementMulitDataToOneDatasComReqDto_1.getCustomField(), "B2发起第三方智能问答会话(管理)-D2将系统助手合并数据集-第一条记录A字段不能为空", false);
            Assert.isNull(implementMulitDataToOneDatasComReqDto_1.getCustomField1(), "B2发起第三方智能问答会话(管理)-D2将系统助手合并数据集-第一条记录B字段不能为空", false);
            implementMulitDataToOneDatasComRespDto_2 = fwCompInterfaceModeClient.implementMulitDataToOneDatasCom(implementMulitDataToOneDatasComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2执行拉N人建群(公共)  48286
        ImplementPullNPeopleBuildGroupComRespDto implementPullNPeopleBuildGroupComRespDto = null;
        if (implementMulitDataToOneDatasComRespDto_2 != null && obtainChannelAndMemberInfoComRespDto != null && addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null && queryStaffBeginMemberDetailRespDto != null) {
            ImplementPullNPeopleBuildGroupComReqDto implementPullNPeopleBuildGroupComReqDto = new ImplementPullNPeopleBuildGroupComReqDto();
            implementPullNPeopleBuildGroupComReqDto.setMessageLocationTypeCode("INTELLIGENT_STUDY");//CUSTOM_CONVENTION//sourceId:1111145_1_48286
            implementPullNPeopleBuildGroupComReqDto.setMessageTemplateCode("THIRD_QA_SESSION_MESSAGE_TEMPLATE");//CUSTOM_CONVENTION//sourceId:1111146_1_48286
            implementPullNPeopleBuildGroupComReqDto.setPlatformReplace("FALSE");//sourceId:1111155_1_48286
            implementPullNPeopleBuildGroupComReqDto.setChannelTypeCode("THIRD_QA_SESSION");//sourceId:1111165_1_48286
            implementPullNPeopleBuildGroupComReqDto.setNewTableTypeCode("OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER");//sourceId:1111159_1_48286
            implementPullNPeopleBuildGroupComReqDto.setNewEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1111160_1_48286
            implementPullNPeopleBuildGroupComReqDto.setMessageImportantLevel(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1111153_1_48286
            implementPullNPeopleBuildGroupComReqDto.setBorcScene("TOB_SCENE");//sourceId:1111144_1_48286
            implementPullNPeopleBuildGroupComReqDto.setIsAssistant("FALSE");//sourceId:1111147_1_48286
            implementPullNPeopleBuildGroupComReqDto.setMessageRole("user");//sourceId:1111148_1_48286
            implementPullNPeopleBuildGroupComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1111149_1_48286
            implementPullNPeopleBuildGroupComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1111150_1_48286
            implementPullNPeopleBuildGroupComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112675_1_48286
            if (implementMulitDataToOneDatasComRespDto_2 != null && implementMulitDataToOneDatasComRespDto_2.getMulitDataToOneDatasList() != null && !CollectionUtil.isEmpty(implementMulitDataToOneDatasComRespDto_2.getMulitDataToOneDatasList())) {
                implementPullNPeopleBuildGroupComReqDto.setMemberChannelList(//objList-to-objLists
                        implementMulitDataToOneDatasComRespDto_2.getMulitDataToOneDatasList().stream().map(item -> {
                            MemberChannelDto elm = new MemberChannelDto();
                            if (item != null) {
                                elm.setOriginalRoleMemberId(item.getCustomField1());//SimpleFieldAssign//sourceId:232508_2_48286
                                elm.setUserId(item.getCustomField2());//SimpleFieldAssign//sourceId:232509_2_48286
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1111143_1_48286
            }
            if (reqDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setChannelName(reqDto.getMessageContent());//SimpleFieldAssign//sourceId:1111158_1_48286
                implementPullNPeopleBuildGroupComReqDto.setMessageContent(reqDto.getMessageContent());//SimpleFieldAssign//sourceId:1111154_1_48286
            }
            if (obtainChannelAndMemberInfoComRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setChannelLogo(obtainChannelAndMemberInfoComRespDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1111161_1_48286
            }
            if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setVirtualOrgId(addChannelVirtualOrgAndVirtualOrgMemberComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1111164_1_48286
            }
            if (queryStaffBeginMemberDetailRespDto != null) {
                implementPullNPeopleBuildGroupComReqDto.setSenderProfilePictureAddress(queryStaffBeginMemberDetailRespDto.getUserFace());//SimpleFieldAssign//sourceId:1111151_1_48286
                implementPullNPeopleBuildGroupComReqDto.setNameOfSender(queryStaffBeginMemberDetailRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1111152_1_48286
                implementPullNPeopleBuildGroupComReqDto.setSpaceId(queryStaffBeginMemberDetailRespDto.getSpaceId());//SimpleFieldAssign//sourceId:1111156_1_48286
                implementPullNPeopleBuildGroupComReqDto.setAppId(queryStaffBeginMemberDetailRespDto.getAppId());//SimpleFieldAssign//sourceId:1111157_1_48286
            }

            /*D2执行拉N人建群(公共)[7031]   */
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageLocationTypeCode(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-消息位置标识不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageTemplateCode(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getPlatformReplace(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-是否平台代操作不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelTypeCode(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelName(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-通道名称不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getChannelLogo(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-通道缩略图地址不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNewTableTypeCode(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-通道归属主体内容类型编码不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNewEntityId(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-通道归属主体内容ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageImportantLevel(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-消息重要紧急度层级不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageContent(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-消息内容不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getBorcScene(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-toB或toC场景不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getIsAssistant(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方是否助手不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getMessageRole(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方角色不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderOriginalRoleMemberId(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方身份人员ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderUserId(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方账号ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSenderProfilePictureAddress(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方头像地址不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getNameOfSender(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-发送方姓名不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getOperateTime(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-操作时间不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getSpaceId(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementPullNPeopleBuildGroupComReqDto.getAppId(), "B2发起第三方智能问答会话(管理)-D2执行拉N人建群(公共)-创建于联盟应用ID不能为空", false);
            implementPullNPeopleBuildGroupComRespDto = fwCompMessageClient.implementPullNPeopleBuildGroupCom(implementPullNPeopleBuildGroupComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementPullNPeopleBuildGroupComRespDto_1 = implementPullNPeopleBuildGroupComRespDto;
        }
//virtualUsage D3-回写通道虚拟组织及成员信息(公共)  48288
        WriteBackChannelVirtualOrgAndVirtualOrgMemberComRespDto writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = null;
        if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null && implementPullNPeopleBuildGroupComRespDto != null) {
            WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto = new WriteBackChannelVirtualOrgAndVirtualOrgMemberComReqDto();
//  writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setEvaluationTemplateId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1111168_1_48288
            if (addChannelVirtualOrgAndVirtualOrgMemberComRespDto != null) {
                writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setVirtualOrgId(addChannelVirtualOrgAndVirtualOrgMemberComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1111166_1_48288
            }
            if (implementPullNPeopleBuildGroupComRespDto != null) {
                writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.setMessageChannelId(implementPullNPeopleBuildGroupComRespDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1111167_1_48288
            }

            /*D3-回写通道虚拟组织及成员信息(公共)[7339]   */
            Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getVirtualOrgId(), "B2发起第三方智能问答会话(管理)-D3-回写通道虚拟组织及成员信息(公共)-虚拟组织ID不能为空", false);
            Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getMessageChannelId(), "B2发起第三方智能问答会话(管理)-D3-回写通道虚拟组织及成员信息(公共)-通道ID不能为空", false);
//Assert.isNull(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto.getEvaluationTemplateId(),"B2发起第三方智能问答会话(管理)-D3-回写通道虚拟组织及成员信息(公共)-归属对象ID不能为空",false);
            writeBackChannelVirtualOrgAndVirtualOrgMemberComRespDto = fwAppMessageClient.writeBackChannelVirtualOrgAndVirtualOrgMemberCom(writeBackChannelVirtualOrgAndVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2-批量修改成员通道关系(公共)  48289
        BatchUpdateMemberChannelComRespDto batchUpdateMemberChannelComRespDto = null;
        if (implementPullNPeopleBuildGroupComRespDto != null) {
            BatchUpdateMemberChannelComReqDto batchUpdateMemberChannelComReqDto = new BatchUpdateMemberChannelComReqDto();
            batchUpdateMemberChannelComReqDto.setIsAssistant("TRUE");//sourceId:1111171_1_48289
            batchUpdateMemberChannelComReqDto.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1112676_1_48289
            if (implementPullNPeopleBuildGroupComRespDto != null) {
                batchUpdateMemberChannelComReqDto.setMemberChannelList(implementPullNPeopleBuildGroupComRespDto.getMemberChannelList());//list-field-assign//sourceId:1415664_1_48289
            }

            /*D2-批量修改成员通道关系(公共)[7337]   */
            Assert.isNull(batchUpdateMemberChannelComReqDto.getIsAssistant(), "B2发起第三方智能问答会话(管理)-D2-批量修改成员通道关系(公共)-发送方是否助手不能为空", false);
            Assert.isNull(batchUpdateMemberChannelComReqDto.getOperateTime(), "B2发起第三方智能问答会话(管理)-D2-批量修改成员通道关系(公共)-操作时间不能为空", false);
            batchUpdateMemberChannelComRespDto = fwCompMessageClient.batchUpdateMemberChannelCom(batchUpdateMemberChannelComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        BffInitiateThirdPartyIntelligentQASessionRespDto retData = new BffInitiateThirdPartyIntelligentQASessionRespDto();
        if (implementPullNPeopleBuildGroupComRespDto_1 != null) {
            retData.setMessageChannelId(implementPullNPeopleBuildGroupComRespDto_1.getMessageChannelId());//SimpleFieldAssign//sourceId:1111184_1
            retData.setMemberChannelRelationId(implementPullNPeopleBuildGroupComRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1415667_1
        }


        return retData;
    }

    /**
     * B3执行给部门管理者发通知[7539]
     * gen by moon at 1/11/2024, 2:38:43 PM
     */
    @Trace(operationName = "B3执行给部门管理者发通知")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementToDeptManagerSendMsgRespDto implementToDeptManagerSendMsg(BffImplementToDeptManagerSendMsgReqDto reqDto) {


        //步骤0: D3执行给部门管理者发通知(公共) - implementToDeptManagerSendMsgCom
        ImplementToDeptManagerSendMsgComRespDto implementToDeptManagerSendMsgComRespDto = null;
        ImplementToDeptManagerSendMsgComReqDto implementToDeptManagerSendMsgComReqDto = new ImplementToDeptManagerSendMsgComReqDto();
        implementToDeptManagerSendMsgComReqDto.setDeptDeputyCondition("All");//sourceId:1176661_1
        implementToDeptManagerSendMsgComReqDto.setPrivacyCode("GRASS_ROOTS_UNIT_MGT_POWER");//CUSTOM_CONVENTION//sourceId:1176662_1
        if (reqDto != null && reqDto.getDeptList() != null && !CollectionUtil.isEmpty(reqDto.getDeptList())) {
            implementToDeptManagerSendMsgComReqDto.setDeptList(reqDto.getDeptList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrframework.base.service.dto.req.DeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1176660_1
        }
        if (reqDto != null) {
            implementToDeptManagerSendMsgComReqDto.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1477338_1
        }

        /*D3执行给部门管理者发通知(公共)[7538]   */
        Assert.isNull(implementToDeptManagerSendMsgComReqDto.getSendMsgScene(), "B3执行给部门管理者发通知-D3执行给部门管理者发通知(公共)-发送消息场景不能为空", false);
        Assert.isNull(implementToDeptManagerSendMsgComReqDto.getDeptDeputyCondition(), "B3执行给部门管理者发通知-D3执行给部门管理者发通知(公共)-部门管理者获取条件不能为空", false);
        Assert.isNull(implementToDeptManagerSendMsgComReqDto.getPrivacyCode(), "B3执行给部门管理者发通知-D3执行给部门管理者发通知(公共)-权限标识不能为空", false);
        implementToDeptManagerSendMsgComRespDto = fwAppMessageClient.implementToDeptManagerSendMsgCom(implementToDeptManagerSendMsgComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementToDeptManagerSendMsgRespDto retData = new BffImplementToDeptManagerSendMsgRespDto();


        return retData;
    }

    /**
     * B2获取消息处理状态[7542]
     * gen by moon at 10/17/2023, 5:05:12 PM
     */
    @Trace(operationName = "B2获取消息处理状态")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffObtainMsgDisposeStateRespDto obtainMsgDisposeState(BffObtainMsgDisposeStateReqDto reqDto) {


        ObtainMsgDisposeStateComRespDto obtainMsgDisposeStateComRespDto_1 = null;
//步骤0: D2获取消息处理状态(公共) - obtainMsgDisposeStateCom
        ObtainMsgDisposeStateComRespDto obtainMsgDisposeStateComRespDto = null;
        ObtainMsgDisposeStateComReqDto obtainMsgDisposeStateComReqDto = new ObtainMsgDisposeStateComReqDto();
        if (reqDto != null) {
            obtainMsgDisposeStateComReqDto.setMessageList(reqDto.getMessageList());//list-field-assign//sourceId:1180055_1
            obtainMsgDisposeStateComReqDto.setMessageTemplateCode(reqDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1180056_1
            obtainMsgDisposeStateComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1180057_1
        }

        /*D2获取消息处理状态(公共)[7541]   */
        Assert.isNull(obtainMsgDisposeStateComReqDto.getMessageTemplateCode(), "B2获取消息处理状态-D2获取消息处理状态(公共)-消息模板标识不能为空", false);
        Assert.isNull(obtainMsgDisposeStateComReqDto.getThemeContentId(), "B2获取消息处理状态-D2获取消息处理状态(公共)-主题内容ID不能为空", false);
        obtainMsgDisposeStateComRespDto = fwCompMessageClient.obtainMsgDisposeStateCom(obtainMsgDisposeStateComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        obtainMsgDisposeStateComRespDto_1 = obtainMsgDisposeStateComRespDto;

        BffObtainMsgDisposeStateRespDto retData = new BffObtainMsgDisposeStateRespDto();
        if (obtainMsgDisposeStateComRespDto_1 != null) {
            retData.setMessageList(obtainMsgDisposeStateComRespDto_1.getMessageList().stream().map(item -> BeanUtil.toBean(item, BffMessageDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1180062_1
        }


        return retData;
    }

    /**
     * B2执行消息处理状态[7545]
     * gen by moon at 11/17/2023, 3:13:23 PM
     */
    @Trace(operationName = "B2执行消息处理状态")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementMsgDisposeStateRespDto implementMsgDisposeState(BffImplementMsgDisposeStateReqDto reqDto) {


        //步骤0: D3-执行消息签收业务处理(公共) - implementSignMsgBizHandleCom
        ImplementSignMsgBizHandleComRespDto implementSignMsgBizHandleComRespDto = null;
        ImplementSignMsgBizHandleComReqDto implementSignMsgBizHandleComReqDto = new ImplementSignMsgBizHandleComReqDto();
        implementSignMsgBizHandleComReqDto.setIsHandle("TRUE");//sourceId:1315382_1
        if (reqDto != null) {
            implementSignMsgBizHandleComReqDto.setMessageId(reqDto.getMessageId());//SimpleFieldAssign//sourceId:1315381_1
        }

        /*D3-执行消息签收业务处理(公共)[7953]   */
        Assert.isNull(implementSignMsgBizHandleComReqDto.getMessageId(), "B2执行消息处理状态-D3-执行消息签收业务处理(公共)-消息ID不能为空", false);
        Assert.isNull(implementSignMsgBizHandleComReqDto.getIsHandle(), "B2执行消息处理状态-D3-执行消息签收业务处理(公共)-是否已处理不能为空", false);
        implementSignMsgBizHandleComRespDto = fwAppMessageClient.implementSignMsgBizHandleCom(implementSignMsgBizHandleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementMsgDisposeStateRespDto retData = new BffImplementMsgDisposeStateRespDto();


        return retData;
    }

    /**
     * B2查询子场景消息数量列表[7558]
     * gen by moon at 11/28/2023, 1:39:01 PM
     */
    @Trace(operationName = "B2查询子场景消息数量列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryContentTypeMessageNumListRespDto queryContentTypeMessageNumList(BffQueryContentTypeMessageNumListReqDto reqDto) {


        QueryContentTypeMessageNumListComRespDto queryContentTypeMessageNumListComRespDto_1 = null;
//步骤0: D2-查询子场景消息数量列表(公共) - queryContentTypeMessageNumListCom
        QueryContentTypeMessageNumListComRespDto queryContentTypeMessageNumListComRespDto = null;
        QueryContentTypeMessageNumListComReqDto queryContentTypeMessageNumListComReqDto = new QueryContentTypeMessageNumListComReqDto();
        queryContentTypeMessageNumListComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1191830_1
        queryContentTypeMessageNumListComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1191831_1
        if (reqDto != null) {
            queryContentTypeMessageNumListComReqDto.setContentTypeCode(reqDto.getContentTypeCode());//SimpleFieldAssign//sourceId:1184103_1
        }

        /*D2-查询子场景消息数量列表(公共)[7557]   */
        Assert.isNull(queryContentTypeMessageNumListComReqDto.getOriginalRoleMemberId(), "B2查询子场景消息数量列表-D2-查询子场景消息数量列表(公共)-身份人员ID不能为空", false);
        Assert.isNull(queryContentTypeMessageNumListComReqDto.getUserId(), "B2查询子场景消息数量列表-D2-查询子场景消息数量列表(公共)-账号不能为空", false);
        queryContentTypeMessageNumListComRespDto = fwCompMessageClient.queryContentTypeMessageNumListCom(queryContentTypeMessageNumListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryContentTypeMessageNumListComRespDto_1 = queryContentTypeMessageNumListComRespDto;

        BffQueryContentTypeMessageNumListRespDto retData = new BffQueryContentTypeMessageNumListRespDto();
        if (queryContentTypeMessageNumListComRespDto_1 != null) {
            retData.setMessageNumList(queryContentTypeMessageNumListComRespDto_1.getMessageNumList().stream().map(item -> BeanUtil.toBean(item, BffMessageNumDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1194313_1
        }


        return retData;
    }

    /**
     * B2查询通道下强提醒消息列表[7616]
     * gen by moon at 12/26/2023, 9:01:27 PM
     */
    @Trace(operationName = "B2查询通道下强提醒消息列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryChannelMessageListRespDto queryChannelMessageList(BffQueryChannelMessageListReqDto reqDto) {


        QueryChannelMessageListRespDto queryChannelMessageListRespDto_1 = null;
        ImplementMarkdownDataListTurnToTextComRespDto implementMarkdownDataListTurnToTextComRespDto_1 = null;
//步骤0: D2查询通道下强提醒消息列表 - queryChannelMessageList
        QueryChannelMessageListRespDto queryChannelMessageListRespDto = null;
        QueryChannelMessageListReqDto queryChannelMessageListReqDto = new QueryChannelMessageListReqDto();
        queryChannelMessageListReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1210173_1
        queryChannelMessageListReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1210174_1
        if (reqDto != null) {
            queryChannelMessageListReqDto.setMessageImportantLevel(reqDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1210175_1
            queryChannelMessageListReqDto.setSceneTypeCode(reqDto.getSceneTypeCode());//SimpleFieldAssign//sourceId:1210170_1
            queryChannelMessageListReqDto.setSceneSubTypeCode(reqDto.getSceneSubTypeCode());//SimpleFieldAssign//sourceId:1210171_1
            queryChannelMessageListReqDto.setVirtualImageViewType(reqDto.getVirtualImageViewType());//SimpleFieldAssign//sourceId:1210172_1
        }

        /*D2查询通道下强提醒消息列表[7608]   */
        Assert.isNull(queryChannelMessageListReqDto.getOriginalRoleMemberId(), "B2查询通道下强提醒消息列表-D2查询通道下强提醒消息列表-所属身份人员ID不能为空", false);
        Assert.isNull(queryChannelMessageListReqDto.getUserId(), "B2查询通道下强提醒消息列表-D2查询通道下强提醒消息列表-所属个人账号ID不能为空", false);
        Assert.isNull(queryChannelMessageListReqDto.getMessageImportantLevel(), "B2查询通道下强提醒消息列表-D2查询通道下强提醒消息列表-消息重要紧急度层级不能为空", false);
        Assert.isNull(queryChannelMessageListReqDto.getSceneTypeCode(), "B2查询通道下强提醒消息列表-D2查询通道下强提醒消息列表-使用大场景类型编码不能为空", false);
        Assert.isNull(queryChannelMessageListReqDto.getSceneSubTypeCode(), "B2查询通道下强提醒消息列表-D2查询通道下强提醒消息列表-使用子场景类型编码不能为空", false);
        queryChannelMessageListRespDto = fwCompMessageClient.queryChannelMessageList(queryChannelMessageListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryChannelMessageListRespDto_1 = queryChannelMessageListRespDto;

//步骤1: D2-执行markdown数据集转文本(公共) - implementMarkdownDataListTurnToTextCom
        ImplementMarkdownDataListTurnToTextComRespDto implementMarkdownDataListTurnToTextComRespDto = null;
        if (queryChannelMessageListRespDto != null && queryChannelMessageListRespDto != null && queryChannelMessageListRespDto.getMemberMsgReceiveList() != null && !CollectionUtil.isEmpty(queryChannelMessageListRespDto.getMemberMsgReceiveList()) && queryChannelMessageListRespDto.getMemberMsgReceiveList().size() > 0) {
            ImplementMarkdownDataListTurnToTextComReqDto implementMarkdownDataListTurnToTextComReqDto = new ImplementMarkdownDataListTurnToTextComReqDto();
            //todo dong 未找到匹配生成策略,请检查生成策略implementMarkdownDataListTurnToTextComReqDto.setMarkdownDataListTurnToTextList(queryChannelMessageListRespDto.getMemberMsgReceiveList()),数据源项; to( ==>tableName:undefined, fieldEnname:markdownDataListTurnToTextList ,uniqueId: 1210187_1 uniqueSourceId:1210177_1) from (varName:undefined fieldqueryChannelMessageListRespDto.getMemberMsgReceiveList())
            // TODO: 2023/10/27 手写代码
            implementMarkdownDataListTurnToTextComReqDto.setMarkdownDataListTurnToTextList(queryChannelMessageListRespDto_1.getMemberMsgReceiveList().stream().map(d -> {
                MarkdownDataListTurnToTextDto elm = new MarkdownDataListTurnToTextDto();
                elm.setCommPrimaryKey(d.getMemberMessageId());
                elm.setMarkdownContent(d.getMessageContent());
                return elm;
            }).collect(Collectors.toList()));
            /*D2-执行markdown数据集转文本(公共)[7597]   */

            implementMarkdownDataListTurnToTextComRespDto = fwCompInterfaceModeClient.implementMarkdownDataListTurnToTextCom(implementMarkdownDataListTurnToTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementMarkdownDataListTurnToTextComRespDto_1 = implementMarkdownDataListTurnToTextComRespDto;
        }

        BffQueryChannelMessageListRespDto retData = new BffQueryChannelMessageListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryChannelMessageListRespDto_1 != null && !CollectionUtil.isEmpty(queryChannelMessageListRespDto_1.getMemberMsgReceiveList())) {
            for (MemberMsgReceiveDto memberMsgReceiveDto : queryChannelMessageListRespDto_1.getMemberMsgReceiveList()) {
                BffMemberMsgReceiveDto retElm = new BffMemberMsgReceiveDto();
                if (queryChannelMessageListRespDto_1 != null) {
                    retElm.setMemberMessageId(memberMsgReceiveDto.getMemberMessageId());//SimpleFieldAssign//sourceId:249757_2
                    retElm.setMessageId(memberMsgReceiveDto.getMessageId());//SimpleFieldAssign//sourceId:249758_2
                    retElm.setMessageTitle(memberMsgReceiveDto.getMessageTitle());//SimpleFieldAssign//sourceId:249759_2
                    retElm.setMessageContentUrl(memberMsgReceiveDto.getMessageContentUrl());//SimpleFieldAssign//sourceId:249761_2
                    retElm.setIsRead(memberMsgReceiveDto.getIsRead());//SimpleFieldAssign//sourceId:249762_2
                    retElm.setReadTime(memberMsgReceiveDto.getReadTime());//SimpleFieldAssign//sourceId:249763_2
                    retElm.setMessageImportantLevel(memberMsgReceiveDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:249764_2
                    retElm.setIsShowSendTime(memberMsgReceiveDto.getIsShowSendTime());//SimpleFieldAssign//sourceId:249765_2
                    retElm.setMemberChannelRelationId(memberMsgReceiveDto.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:249766_2
                    retElm.setMsgChannelClassCode(memberMsgReceiveDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:288734_2
                    retElm.setOriginalRoleMemberId(memberMsgReceiveDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:249767_2
                    retElm.setUserId(memberMsgReceiveDto.getUserId());//SimpleFieldAssign//sourceId:249768_2
                    retElm.setMessageRole(memberMsgReceiveDto.getMessageRole());//SimpleFieldAssign//sourceId:249769_2
                    retElm.setSenderOriginalRoleMemberId(memberMsgReceiveDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:249770_2
                    retElm.setSenderUserId(memberMsgReceiveDto.getSenderUserId());//SimpleFieldAssign//sourceId:249771_2
                    retElm.setSenderProfilePictureAddress(memberMsgReceiveDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:249772_2
                    retElm.setNameOfSender(memberMsgReceiveDto.getNameOfSender());//SimpleFieldAssign//sourceId:249773_2
                    retElm.setVirtualImageId(memberMsgReceiveDto.getVirtualImageId());//SimpleFieldAssign//sourceId:249774_2
                    retElm.setVirtualImageName(memberMsgReceiveDto.getVirtualImageName());//SimpleFieldAssign//sourceId:249775_2
                    retElm.setVirtualImage(memberMsgReceiveDto.getVirtualImage());//SimpleFieldAssign//sourceId:249776_2
                    retElm.setVirtualImageDesc(memberMsgReceiveDto.getVirtualImageDesc());//SimpleFieldAssign//sourceId:249777_2
                    retElm.setCharacterClassicPhrase(memberMsgReceiveDto.getCharacterClassicPhrase());//SimpleFieldAssign//sourceId:249778_2
                    retElm.setIsCustomImage(memberMsgReceiveDto.getIsCustomImage());//SimpleFieldAssign//sourceId:249779_2
                    retElm.setOperateTime(memberMsgReceiveDto.getOperateTime());//SimpleFieldAssign//sourceId:249780_2
                }
                retData.getMemberMsgReceiveList().add(retElm);
                if (implementMarkdownDataListTurnToTextComRespDto_1 != null) {
                    for (MarkdownDataListTurnToTextDto markdownDataListTurnToTextDto : implementMarkdownDataListTurnToTextComRespDto_1.getMarkdownDataListTurnToTextList()) {
                        if (markdownDataListTurnToTextDto.getCommPrimaryKey().equals(memberMsgReceiveDto.getMemberMessageId())) {
                            if (implementMarkdownDataListTurnToTextComRespDto_1 != null) {
                                retElm.setMessageContent(markdownDataListTurnToTextDto.getCustomField());//SimpleFieldAssign//sourceId:249785_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1210185_1


        retData.setPageNum(queryChannelMessageListRespDto.getPageNum());
        retData.setPageSize(queryChannelMessageListRespDto.getPageSize());
        retData.setTotal(queryChannelMessageListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryChannelMessageListRespDto.getTotalNum()) / Double.valueOf(queryChannelMessageListRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3-提醒签收工作任务[7758]
     * gen by moon at 11/14/2023, 6:39:57 PM
     */
    @Trace(operationName = "B3-提醒签收工作任务")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementRemindSignWorkTaskRespDto implementRemindSignWorkTask(BffImplementRemindSignWorkTaskReqDto reqDto) {


        //步骤0: D3-提醒签收工作任务(公共) - implementRemindSignWorkTaskCom
        ImplementRemindSignWorkTaskComRespDto implementRemindSignWorkTaskComRespDto = null;
        ImplementRemindSignWorkTaskComReqDto implementRemindSignWorkTaskComReqDto = new ImplementRemindSignWorkTaskComReqDto();
        if (reqDto != null) {
            implementRemindSignWorkTaskComReqDto.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1315411_1
            implementRemindSignWorkTaskComReqDto.setWorkTaskObjectId(reqDto.getWorkTaskObjectId());//SimpleFieldAssign//sourceId:1315412_1
        }

        /*D3-提醒签收工作任务(公共)[7736]   */
        Assert.isNull(implementRemindSignWorkTaskComReqDto.getWorkTaskObjectType(), "B3-提醒签收工作任务-D3-提醒签收工作任务(公共)-工作任务对象类型不能为空", false);
        Assert.isNull(implementRemindSignWorkTaskComReqDto.getWorkTaskObjectId(), "B3-提醒签收工作任务-D3-提醒签收工作任务(公共)-工作任务对象ID不能为空", false);
        implementRemindSignWorkTaskComRespDto = fwAppMessageClient.implementRemindSignWorkTaskCom(implementRemindSignWorkTaskComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementRemindSignWorkTaskRespDto retData = new BffImplementRemindSignWorkTaskRespDto();


        return retData;
    }

    /**
     * B3-督办工作任务或问题[7788]
     * gen by moon at 11/16/2023, 9:41:10 PM
     */
    @Trace(operationName = "B3-督办工作任务或问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementRemindHandleWorkTaskOrTaskRespDto implementRemindHandleWorkTaskOrTask(BffImplementRemindHandleWorkTaskOrTaskReqDto reqDto) {


        //步骤0: D3-督办工作任务或问题(公共) - implementRemindHandleWorkTaskOrTaskCom
        ImplementRemindHandleWorkTaskOrTaskComRespDto implementRemindHandleWorkTaskOrTaskComRespDto = null;
        ImplementRemindHandleWorkTaskOrTaskComReqDto implementRemindHandleWorkTaskOrTaskComReqDto = new ImplementRemindHandleWorkTaskOrTaskComReqDto();
        if (reqDto != null) {
            implementRemindHandleWorkTaskOrTaskComReqDto.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1316258_1
            implementRemindHandleWorkTaskOrTaskComReqDto.setWorkTaskObjectId(reqDto.getWorkTaskObjectId());//SimpleFieldAssign//sourceId:1316259_1
        }

        /*D3-督办工作任务或问题(公共)[7737]   */
        Assert.isNull(implementRemindHandleWorkTaskOrTaskComReqDto.getWorkTaskObjectType(), "B3-督办工作任务或问题-D3-督办工作任务或问题(公共)-工作任务对象类型不能为空", false);
        Assert.isNull(implementRemindHandleWorkTaskOrTaskComReqDto.getWorkTaskObjectId(), "B3-督办工作任务或问题-D3-督办工作任务或问题(公共)-工作任务对象ID不能为空", false);
        implementRemindHandleWorkTaskOrTaskComRespDto = fwAppMessageClient.implementRemindHandleWorkTaskOrTaskCom(implementRemindHandleWorkTaskOrTaskComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementRemindHandleWorkTaskOrTaskRespDto retData = new BffImplementRemindHandleWorkTaskOrTaskRespDto();


        return retData;
    }

    /**
     * B3查内容动态消息列表[7884]
     * gen by moon at 5/24/2024, 12:08:10 AM
     */
    @Trace(operationName = "B3查内容动态消息列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkContTrendsMsgListRespDto queryWorkContTrendsMsgList(BffQueryWorkContTrendsMsgListReqDto reqDto) {


        QueryWorkContTrendsMsgListRespDto queryWorkContTrendsMsgListRespDto_1 = null;
        ImplementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto_1 = null;
        BatchQueryInductionDeptComRespDto batchQueryInductionDeptComRespDto_1 = null;
//virtualUsage D3查工作内容动态消息列表  52931
        QueryWorkContTrendsMsgListRespDto queryWorkContTrendsMsgListRespDto = null;
        QueryWorkContTrendsMsgListReqDto queryWorkContTrendsMsgListReqDto = new QueryWorkContTrendsMsgListReqDto();
        if (reqDto != null) {
            queryWorkContTrendsMsgListReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1404841_1_52931
            queryWorkContTrendsMsgListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1404842_1_52931
            queryWorkContTrendsMsgListReqDto.setSurfaceCode(reqDto.getSurfaceCode());//SimpleFieldAssign//sourceId:1404843_1_52931
            queryWorkContTrendsMsgListReqDto.setIsBoutique(reqDto.getIsBoutique());//SimpleFieldAssign//sourceId:1414786_1_52931
            queryWorkContTrendsMsgListReqDto.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1493004_1_52931
            queryWorkContTrendsMsgListReqDto.setBehaviorTypeCode(reqDto.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:1438970_1_52931
        }

        // TODO: 2023/11/20 手写代码
        queryWorkContTrendsMsgListReqDto.setPageSize(reqDto.getPageSize());
        queryWorkContTrendsMsgListReqDto.setPageNum(reqDto.getPageNum());
        /*D3查工作内容动态消息列表[7885]   */

        queryWorkContTrendsMsgListRespDto = fwAppMessageClient.queryWorkContTrendsMsgList(queryWorkContTrendsMsgListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryWorkContTrendsMsgListRespDto_1 = queryWorkContTrendsMsgListRespDto;
//virtualUsage D3查发送人小圈子组内职务名称  54654
        ImplementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto = null;
        if (queryWorkContTrendsMsgListRespDto != null) {
            ImplementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto implementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto = new ImplementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto();
            implementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1356041_1_54654
            if (queryWorkContTrendsMsgListRespDto != null && queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList() != null && !CollectionUtil.isEmpty(queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList())) {
                implementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto.setVirtualOrgMemberList(queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList().stream().map(item -> item.getSenderVirtualOrgMemberId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1356037_1_54654
            }

            /*D3查发送人小圈子组内职务名称[8025]   */
            Assert.isNull(implementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto.getSpaceId(), "B3查内容动态消息列表-D3查发送人小圈子组内职务名称-创建于空间ID不能为空", false);
            implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto = fwAppVirtualOrgClient.implementPrimaryKeyBatchQueryVirtualOrgMemberCom(implementPrimaryKeyBatchQueryVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto_1 = implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto;
        }
//virtualUsage D1批量查询就职的部门(公共)  54655
        BatchQueryInductionDeptComRespDto batchQueryInductionDeptComRespDto = null;
        if (queryWorkContTrendsMsgListRespDto != null) {
            BatchQueryInductionDeptComReqDto batchQueryInductionDeptComReqDto = new BatchQueryInductionDeptComReqDto();
            batchQueryInductionDeptComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1289039_1_54655
            if (queryWorkContTrendsMsgListRespDto != null && queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList() != null && !CollectionUtil.isEmpty(queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList())) {
                batchQueryInductionDeptComReqDto.setOrgInductionRecordList(queryWorkContTrendsMsgListRespDto.getWorkContTrendsMsgList().stream().map(item -> item.getSenderInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1289037_1_54655
            }

            /*D1批量查询就职的部门(公共)[7891]   */
            Assert.isNull(batchQueryInductionDeptComReqDto.getSpaceId(), "B3查内容动态消息列表-D1批量查询就职的部门(公共)-创建于空间ID不能为空", false);
            batchQueryInductionDeptComRespDto = fwBaseInductionRecordClient.batchQueryInductionDeptCom(batchQueryInductionDeptComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionDeptComRespDto_1 = batchQueryInductionDeptComRespDto;
        }
        BffQueryWorkContTrendsMsgListRespDto retData = new BffQueryWorkContTrendsMsgListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryWorkContTrendsMsgListRespDto_1 != null && !CollectionUtil.isEmpty(queryWorkContTrendsMsgListRespDto_1.getWorkContTrendsMsgList())) {
            for (WorkContTrendsMsgDto workContTrendsMsgDto : queryWorkContTrendsMsgListRespDto_1.getWorkContTrendsMsgList()) {
                BffWorkContTrendsMsgDto retElm = new BffWorkContTrendsMsgDto();
                if (queryWorkContTrendsMsgListRespDto_1 != null) {
                    retElm.setMessageId(workContTrendsMsgDto.getMessageId());//SimpleFieldAssign//sourceId:282927_2
                    retElm.setMessageTitle(workContTrendsMsgDto.getMessageTitle());//SimpleFieldAssign//sourceId:282928_2
                    retElm.setMessageContent(workContTrendsMsgDto.getMessageContent());//SimpleFieldAssign//sourceId:288288_2
                    retElm.setMessageContentUrl(workContTrendsMsgDto.getMessageContentUrl());//SimpleFieldAssign//sourceId:282930_2
                    retElm.setReferenceMessageId(workContTrendsMsgDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:288177_2
                    retElm.setReferenceMessageContent(workContTrendsMsgDto.getReferenceMessageContent());//SimpleFieldAssign//sourceId:288289_2
                    retElm.setIsBoutique(workContTrendsMsgDto.getIsBoutique());//SimpleFieldAssign//sourceId:296489_2
                    retElm.setMessageTemplateCode(workContTrendsMsgDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:282931_2
                    retElm.setBehaviorTypeCode(workContTrendsMsgDto.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:282932_2
                    retElm.setCooperateContentTypeCode(workContTrendsMsgDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:282933_2
                    retElm.setCooperateContentId(workContTrendsMsgDto.getCooperateContentId());//SimpleFieldAssign//sourceId:282934_2
                    retElm.setSurfaceContName(workContTrendsMsgDto.getSurfaceContName());//SimpleFieldAssign//sourceId:282935_2
                    retElm.setMediaType(workContTrendsMsgDto.getMediaType());//SimpleFieldAssign//sourceId:282936_2
                    retElm.setMediaAddress(workContTrendsMsgDto.getMediaAddress());//SimpleFieldAssign//sourceId:282937_2
                    retElm.setSurfaceCode(workContTrendsMsgDto.getSurfaceCode());//SimpleFieldAssign//sourceId:282938_2
                    retElm.setEntityId(workContTrendsMsgDto.getEntityId());//SimpleFieldAssign//sourceId:282939_2
                    retElm.setThemeContentTypeCode(workContTrendsMsgDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:282940_2
                    retElm.setThemeContentId(workContTrendsMsgDto.getThemeContentId());//SimpleFieldAssign//sourceId:282941_2
                    retElm.setHandleType(workContTrendsMsgDto.getHandleType());//SimpleFieldAssign//sourceId:283696_2
                    retElm.setIsHandle(workContTrendsMsgDto.getIsHandle());//SimpleFieldAssign//sourceId:282942_2
                    retElm.setSenderVirtualOrgMemberId(workContTrendsMsgDto.getSenderVirtualOrgMemberId());//SimpleFieldAssign//sourceId:282943_2
                    retElm.setSenderInductionRecordId(workContTrendsMsgDto.getSenderInductionRecordId());//SimpleFieldAssign//sourceId:282944_2
                    retElm.setSenderOriginalRoleMemberId(workContTrendsMsgDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:282945_2
                    retElm.setSenderUserId(workContTrendsMsgDto.getSenderUserId());//SimpleFieldAssign//sourceId:282946_2
                    retElm.setSenderProfilePictureAddress(workContTrendsMsgDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:282947_2
                    retElm.setNameOfSender(workContTrendsMsgDto.getNameOfSender());//SimpleFieldAssign//sourceId:282948_2
                    retElm.setOperateTime(workContTrendsMsgDto.getOperateTime());//SimpleFieldAssign//sourceId:282949_2
                    retElm.setCreateTime(workContTrendsMsgDto.getCreateTime());//SimpleFieldAssign//sourceId:282950_2
                }
                retData.getWorkContTrendsMsgList().add(retElm);
                if (implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto_1 != null) {
                    for (VirtualOrgMemberDto virtualOrgMemberDto : implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto_1.getVirtualOrgMemberList()) {
                        if (virtualOrgMemberDto.getVirtualOrgMemberId().equals(workContTrendsMsgDto.getSenderVirtualOrgMemberId())) {
                            if (implementPrimaryKeyBatchQueryVirtualOrgMemberComRespDto_1 != null) {
                                retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:275773_2
                            }
                        }
                    }
                }

                if (batchQueryInductionDeptComRespDto_1 != null) {
                    for (OrgInductionRecordDto orgInductionRecordDto : batchQueryInductionDeptComRespDto_1.getOrgInductionRecordList()) {
                        if (orgInductionRecordDto.getInductionRecordId().equals(workContTrendsMsgDto.getSenderInductionRecordId())) {
                            if (batchQueryInductionDeptComRespDto_1 != null) {
                                retElm.setDeptId(orgInductionRecordDto.getEntityId());//SimpleFieldAssign//sourceId:275776_2
                                retElm.setDeptShortName(orgInductionRecordDto.getDeptShortName());//SimpleFieldAssign//sourceId:275777_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1288085_1
        if (queryWorkContTrendsMsgListRespDto_1 != null) {
            // TODO: 2023/12/7  手写代码，取图片尺寸模式
            retData.setDataListAllPathList(queryWorkContTrendsMsgListRespDto_1.getDataListAllPathList().stream().map(item -> {
                BffDataListAllPathDto elm = new BffDataListAllPathDto();
                elm.setMessageId(item.getMessageId());
                elm.setDatasetPrimarykey(CommonFunctionHelper.getSpecImage(item.getDatasetPrimarykey(), "_324"));
                return elm;
            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1288086_1
        }

        List<TreeNode> nodeList = new ArrayList<>();
// TODO: 2023/11/19 AB树
        for (BffWorkContTrendsMsgDto main : retData.getWorkContTrendsMsgList()) {
            TreeNode node = new TreeNode();
            node.setNLevel(1L);
            node.setSelf(main);
            nodeList.add(node);
            for (BffDataListAllPathDto sub : retData.getDataListAllPathList()) {
                if (sub.getMessageId().equals(main.getMessageId())) {
                    TreeNode subNode = new TreeNode();
                    subNode.setNLevel(2L);
                    subNode.setSelf(sub);
                    node.getChildrenList().add(subNode);
                }
            }
        }


//      List<Object> allNodes =new ArrayList<>();
//      allNodes.addAll(retData.getWorkContTrendsMsgList());
//allNodes.addAll(retData.getDataListAllPathList());
//     List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setWorkContTrendsMsgList(null);
        retData.setDataListAllPathList(null);

// TODO: 2023/11/20 手写分页代码
        if (queryWorkContTrendsMsgListRespDto_1 != null) {
            retData.setPageNum(queryWorkContTrendsMsgListRespDto_1.getPageNum());
            retData.setPageSize(queryWorkContTrendsMsgListRespDto_1.getPageSize());
            retData.setTotal(queryWorkContTrendsMsgListRespDto_1.getTotalNum());
        }


        return retData;
    }

    /**
     * B3执行发起内容沟通[7964]
     * gen by moon at 11/17/2023, 8:28:49 PM
     */
    @Trace(operationName = "B3执行发起内容沟通")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementInitiateContentCommunicateRespDto implementInitiateContentCommunicate(BffImplementInitiateContentCommunicateReqDto reqDto) {


        ImplementInitiateContentCommunicateRespDto implementInitiateContentCommunicateRespDto_1 = null;
//步骤0: D3执行发起内容沟通 - implementInitiateContentCommunicate
        ImplementInitiateContentCommunicateRespDto implementInitiateContentCommunicateRespDto = null;
        ImplementInitiateContentCommunicateReqDto implementInitiateContentCommunicateReqDto = new ImplementInitiateContentCommunicateReqDto();
        if (reqDto != null) {
            implementInitiateContentCommunicateReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1324231_1
            implementInitiateContentCommunicateReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1324232_1
        }

        /*D3执行发起内容沟通[7965]   */
        Assert.isNull(implementInitiateContentCommunicateReqDto.getTableTypeCode(), "B3执行发起内容沟通-D3执行发起内容沟通-内容表类型编码不能为空", false);
        Assert.isNull(implementInitiateContentCommunicateReqDto.getEntityId(), "B3执行发起内容沟通-D3执行发起内容沟通-内容表主键ID不能为空", false);
        implementInitiateContentCommunicateRespDto = fwAppMessageClient.implementInitiateContentCommunicate(implementInitiateContentCommunicateReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementInitiateContentCommunicateRespDto_1 = implementInitiateContentCommunicateRespDto;

        BffImplementInitiateContentCommunicateRespDto retData = new BffImplementInitiateContentCommunicateRespDto();
        if (implementInitiateContentCommunicateRespDto_1 != null) {
            retData.setMemberChannelRelationId(implementInitiateContentCommunicateRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1325435_1
        }


        return retData;
    }

    /**
     * B3查文化圈列表[7975]
     * gen by moon at 5/24/2024, 12:08:20 AM
     */
    @Trace(operationName = "B3查文化圈列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryCulturalCircleListRespDto queryCulturalCircleList(BffQueryCulturalCircleListReqDto reqDto) {


        QueryCulturalCircleListRespDto queryCulturalCircleListRespDto_1 = null;
        BatchQueryInductionRecordSnapComRespDto batchQueryInductionRecordSnapComRespDto_1 = null;
//步骤0: D3查文化圈列表 - queryCulturalCircleList
        QueryCulturalCircleListRespDto queryCulturalCircleListRespDto = null;
        QueryCulturalCircleListReqDto queryCulturalCircleListReqDto = new QueryCulturalCircleListReqDto();


        /*D3查文化圈列表[7976]   */

        queryCulturalCircleListRespDto = fwAppMessageClient.queryCulturalCircleList(queryCulturalCircleListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryCulturalCircleListRespDto_1 = queryCulturalCircleListRespDto;

//步骤1: D1批量查询就职记录快照(公共) - batchQueryInductionRecordSnapCom
        BatchQueryInductionRecordSnapComRespDto batchQueryInductionRecordSnapComRespDto = null;
        if (queryCulturalCircleListRespDto != null) {
            BatchQueryInductionRecordSnapComReqDto batchQueryInductionRecordSnapComReqDto = new BatchQueryInductionRecordSnapComReqDto();
            batchQueryInductionRecordSnapComReqDto.setIsEditing("FALSE");//sourceId:1391345_1
            if (queryCulturalCircleListRespDto != null && queryCulturalCircleListRespDto.getCulturalCircleTrendsList() != null && !CollectionUtil.isEmpty(queryCulturalCircleListRespDto.getCulturalCircleTrendsList())) {
                batchQueryInductionRecordSnapComReqDto.setOrgInductionRecordList(queryCulturalCircleListRespDto.getCulturalCircleTrendsList().stream().map(item -> item.getSenderInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1391344_1
            }

            /*D1批量查询就职记录快照(公共)[8097]   */
            Assert.isNull(batchQueryInductionRecordSnapComReqDto.getIsEditing(), "B3查文化圈列表-D1批量查询就职记录快照(公共)-是否未来不能为空", false);
            batchQueryInductionRecordSnapComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordSnapCom(batchQueryInductionRecordSnapComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordSnapComRespDto_1 = batchQueryInductionRecordSnapComRespDto;
        }

        BffQueryCulturalCircleListRespDto retData = new BffQueryCulturalCircleListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCulturalCircleListRespDto_1 != null && !CollectionUtil.isEmpty(queryCulturalCircleListRespDto_1.getCulturalCircleTrendsList())) {
            for (CulturalCircleTrendsDto culturalCircleTrendsDto : queryCulturalCircleListRespDto_1.getCulturalCircleTrendsList()) {
                BffCulturalCircleTrendsDto retElm = new BffCulturalCircleTrendsDto();
                if (queryCulturalCircleListRespDto_1 != null) {
                    retElm.setMessageId(culturalCircleTrendsDto.getMessageId());//SimpleFieldAssign//sourceId:270949_2
                    retElm.setMessageTitle(culturalCircleTrendsDto.getMessageTitle());//SimpleFieldAssign//sourceId:270950_2
                    retElm.setMessageContent(culturalCircleTrendsDto.getMessageContent());//SimpleFieldAssign//sourceId:270951_2
                    retElm.setCooperateContentTypeCode(culturalCircleTrendsDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:280935_2
                    retElm.setCooperateContentId(culturalCircleTrendsDto.getCooperateContentId());//SimpleFieldAssign//sourceId:280936_2
                    retElm.setSurfaceContName(culturalCircleTrendsDto.getSurfaceContName());//SimpleFieldAssign//sourceId:270957_2
                    retElm.setMediaType(culturalCircleTrendsDto.getMediaType());//SimpleFieldAssign//sourceId:270952_2
                    retElm.setMediaAddress(culturalCircleTrendsDto.getMediaAddress());//SimpleFieldAssign//sourceId:270953_2
                    retElm.setSurfaceCode(culturalCircleTrendsDto.getSurfaceCode());//SimpleFieldAssign//sourceId:270955_2
                    retElm.setEntityId(culturalCircleTrendsDto.getEntityId());//SimpleFieldAssign//sourceId:270956_2
                    retElm.setIsHandle(culturalCircleTrendsDto.getIsHandle());//SimpleFieldAssign//sourceId:270954_2
                    retElm.setSenderInductionRecordId(culturalCircleTrendsDto.getSenderInductionRecordId());//SimpleFieldAssign//sourceId:280937_2
                    retElm.setSenderOriginalRoleMemberId(culturalCircleTrendsDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:270958_2
                    retElm.setSenderUserId(culturalCircleTrendsDto.getSenderUserId());//SimpleFieldAssign//sourceId:270959_2
                    retElm.setNameOfSender(culturalCircleTrendsDto.getNameOfSender());//SimpleFieldAssign//sourceId:270960_2
                    retElm.setSenderProfilePictureAddress(culturalCircleTrendsDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:270961_2
                    retElm.setBehaviorTypeCode(culturalCircleTrendsDto.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:270962_2
                    retElm.setCreateTime(culturalCircleTrendsDto.getCreateTime());//SimpleFieldAssign//sourceId:270963_2
                }
                retData.getCulturalCircleTrendsList().add(retElm);
                if (batchQueryInductionRecordSnapComRespDto_1 != null) {
                    for (OrgInductionRecordDto orgInductionRecordDto : batchQueryInductionRecordSnapComRespDto_1.getOrgInductionRecordList()) {
                        if (orgInductionRecordDto.getInductionRecordId().equals(culturalCircleTrendsDto.getSenderInductionRecordId())) {
                            if (batchQueryInductionRecordSnapComRespDto_1 != null) {
                                retElm.setDeptShortName(orgInductionRecordDto.getDeptShortName());//SimpleFieldAssign//sourceId:280954_2
                                retElm.setPositionIdName(orgInductionRecordDto.getPositionIdName());//SimpleFieldAssign//sourceId:280955_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1328976_1
        if (queryCulturalCircleListRespDto_1 != null) {
            // TODO: 2023/12/7  手写代码，取图片尺寸模式
            retData.setDataListAllPathList(queryCulturalCircleListRespDto_1.getDataListAllPathList().stream().map(item -> {
                BffDataListAllPathDto elm = new BffDataListAllPathDto();
                elm.setMessageId(item.getMessageId());
                elm.setDatasetPrimarykey(CommonFunctionHelper.getSpecImage(item.getDatasetPrimarykey(), "_324"));
                return elm;
            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1328977_1
        }

        List<TreeNode> nodeList = new ArrayList<>();
        // TODO: 2022/10/6 晓东，AB树
        for (BffCulturalCircleTrendsDto main : retData.getCulturalCircleTrendsList()) {
            TreeNode node = new TreeNode();
            node.setNLevel(1L);
            node.setSelf(main);
            nodeList.add(node);
            for (BffDataListAllPathDto sub : retData.getDataListAllPathList()) {
                if (sub.getMessageId().equals(main.getMessageId())) {
                    TreeNode subNode = new TreeNode();
                    subNode.setNLevel(2L);
                    subNode.setSelf(sub);
                    node.getChildrenList().add(subNode);
                }
            }
        }

        retData.setTreeNode(nodeList);
        retData.setCulturalCircleTrendsList(null);
        retData.setDataListAllPathList(null);

        return retData;
    }

    /**
     * B3执行点对点督办[7985]
     * gen by moon at 11/22/2023, 9:30:16 PM
     */
    @Trace(operationName = "B3执行点对点督办")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementPeerToPeerRemindHandleRespDto implementPeerToPeerRemindHandle(BffImplementPeerToPeerRemindHandleReqDto reqDto) {


        //步骤0: D3执行点对点督办 - implementPeerToPeerRemindHandle
        ImplementPeerToPeerRemindHandleRespDto implementPeerToPeerRemindHandleRespDto = null;
        ImplementPeerToPeerRemindHandleReqDto implementPeerToPeerRemindHandleReqDto = new ImplementPeerToPeerRemindHandleReqDto();
        if (reqDto != null) {
            implementPeerToPeerRemindHandleReqDto.setInductionRecordId(reqDto.getInductionRecordId());//SimpleFieldAssign//sourceId:1349246_1
            implementPeerToPeerRemindHandleReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1349247_1
            implementPeerToPeerRemindHandleReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1349248_1
        }

        /*D3执行点对点督办[7986]   */
        Assert.isNull(implementPeerToPeerRemindHandleReqDto.getInductionRecordId(), "B3执行点对点督办-D3执行点对点督办-被督办人就职记录ID不能为空", false);
        Assert.isNull(implementPeerToPeerRemindHandleReqDto.getEntityId(), "B3执行点对点督办-D3执行点对点督办-内容表主键ID不能为空", false);
        Assert.isNull(implementPeerToPeerRemindHandleReqDto.getTableTypeCode(), "B3执行点对点督办-D3执行点对点督办-内容表类型编码不能为空", false);
        implementPeerToPeerRemindHandleRespDto = fwAppMessageClient.implementPeerToPeerRemindHandle(implementPeerToPeerRemindHandleReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementPeerToPeerRemindHandleRespDto retData = new BffImplementPeerToPeerRemindHandleRespDto();


        return retData;
    }

    /**
     * B2-查询工作场景特定对象消息数量列表[7906]
     * gen by moon at 11/29/2023, 3:44:18 AM
     */
    @Trace(operationName = "B2-查询工作场景特定对象消息数量列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWrokTasksSceneSpecificMsgNumListRespDto queryWrokTasksSceneSpecificMsgNumList(BffQueryWrokTasksSceneSpecificMsgNumListReqDto reqDto) {


        QueryMessageNumListRespDto queryMessageNumListRespDto_1 = null;
//步骤0: D2-5查消息数量列表 - queryMessageNumList
        QueryMessageNumListRespDto queryMessageNumListRespDto = null;
        QueryMessageNumListReqDto queryMessageNumListReqDto = new QueryMessageNumListReqDto();
        queryMessageNumListReqDto.setSurfaceCode("ORG_OR_DEPT");//sourceId:1359894_1
        queryMessageNumListReqDto.setIsLocationMessage("TRUE");//sourceId:1359607_1
        queryMessageNumListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1292013_1
        if (reqDto != null) {

            queryMessageNumListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1292012_1
        }

        /*D2-5查归属对象消息数量列表[7907]   */
        Assert.isNull(queryMessageNumListReqDto.getSurfaceCode(), "B2-查询工作场景特定对象消息数量列表-D2-5查归属对象消息数量列表-归属内容类型编码不能为空", false);
        Assert.isNull(queryMessageNumListReqDto.getEntityId(), "B2-查询工作场景特定对象消息数量列表-D2-5查归属对象消息数量列表-归属内容ID不能为空", false);
        Assert.isNull(queryMessageNumListReqDto.getIsLocationMessage(), "B2-查询工作场景特定对象消息数量列表-D2-5查归属对象消息数量列表-是否位置消息数量不能为空", false);
        Assert.isNull(queryMessageNumListReqDto.getSpaceId(), "B2-查询工作场景特定对象消息数量列表-D2-5查归属对象消息数量列表-创建于空间ID不能为空", false);
        queryMessageNumListRespDto = fwCompMessageClient.queryMessageNumList(queryMessageNumListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMessageNumListRespDto_1 = queryMessageNumListRespDto;

        BffQueryWrokTasksSceneSpecificMsgNumListRespDto retData = new BffQueryWrokTasksSceneSpecificMsgNumListRespDto();
        if (queryMessageNumListRespDto_1 != null) {
            retData.setWrokTaskSceneSpecificMsgNumList(queryMessageNumListRespDto_1.getMessageNumList().stream().map(item -> BeanUtil.toBean(item, BffWrokTaskSceneSpecificMsgNumDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1359606_1
        }


        return retData;
    }

    /**
     * B2执行成员通道一致性处理[8193]
     * gen by moon at 1/21/2024, 8:19:53 PM
     */
    @Trace(operationName = "B2执行成员通道一致性处理")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementMemberChannelConsistencyProcessRespDto implementMemberChannelConsistencyProcess(BffImplementMemberChannelConsistencyProcessReqDto reqDto) {


        //virtualUsage D2查询通道详情(公共)  57206
        QueryChannelDetailComRespDto queryChannelDetailComRespDto = null;
        QueryChannelDetailComReqDto queryChannelDetailComReqDto = new QueryChannelDetailComReqDto();
        queryChannelDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1436191_1_57206
        if (reqDto != null) {
            queryChannelDetailComReqDto.setMessageChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1436198_1_57206
        }

        /*D2查询通道详情(公共)[7101]   */
        Assert.isNull(queryChannelDetailComReqDto.getMessageChannelId(), "B2执行成员通道一致性处理-D2查询通道详情(公共)-通道ID不能为空", false);
        Assert.isNull(queryChannelDetailComReqDto.getSpaceId(), "B2执行成员通道一致性处理-D2查询通道详情(公共)-创建于空间ID不能为空", false);
        queryChannelDetailComRespDto = fwCompMessageClient.queryChannelDetailCom(queryChannelDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3执行去重小圈子或组织或部门人员  57203
        ImplementDeduplicationGroupOrOrgOrDeptPersonnelRespDto implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto = null;
        if (queryChannelDetailComRespDto != null) {
            ImplementDeduplicationGroupOrOrgOrDeptPersonnelReqDto implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto = new ImplementDeduplicationGroupOrOrgOrDeptPersonnelReqDto();
            if (queryChannelDetailComRespDto != null) {
                implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto.setTableTypeCode(queryChannelDetailComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1436181_1_57203
                implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto.setEntityId(queryChannelDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1436182_1_57203
            }

            /*D3执行去重小圈子或组织或部门人员[8194]   */
            Assert.isNull(implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto.getTableTypeCode(), "B2执行成员通道一致性处理-D3执行去重小圈子或组织或部门人员-归属主体内容类型编码不能为空", false);
            Assert.isNull(implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto.getEntityId(), "B2执行成员通道一致性处理-D3执行去重小圈子或组织或部门人员-归属主体内容ID不能为空", false);
            implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto = fwAppVirtualOrgClient.implementDeduplicationGroupOrOrgOrDeptPersonnel(implementDeduplicationGroupOrOrgOrDeptPersonnelReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto != null && implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto.getBeginMemberList() != null && implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto.getBeginMemberList().size() > 0)) {
            //if(D3执行去重小圈子或组织或部门人员.身份人员列表数据集条数 大于 0)  57204

            QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
            QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
            queryUserInfoDetailComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1494102_1_59957

            /*D1-2查当前操作人姓名及头像(用于发消息)[408]   */
            Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B2执行成员通道一致性处理-D1-2查当前操作人姓名及头像(用于发消息)-账号不能为空", false);
            queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            ImplementMemberChannelConsistencyProcessComRespDto implementMemberChannelConsistencyProcessComRespDto = null;
            if (implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto != null && queryChannelDetailComRespDto != null && queryUserInfoDetailComRespDto != null) {
                ImplementMemberChannelConsistencyProcessComReqDto implementMemberChannelConsistencyProcessComReqDto = new ImplementMemberChannelConsistencyProcessComReqDto();
                implementMemberChannelConsistencyProcessComReqDto.setBorcScene("TOB_SCENE");//sourceId:1435819_1_57205
                implementMemberChannelConsistencyProcessComReqDto.setSenderOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1494083_1_57205
                implementMemberChannelConsistencyProcessComReqDto.setSenderUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1494084_1_57205
                if (implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto != null && implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto.getBeginMemberList() != null && !CollectionUtil.isEmpty(implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto.getBeginMemberList())) {
                    implementMemberChannelConsistencyProcessComReqDto.setMemberChannelList(implementDeduplicationGroupOrOrgOrDeptPersonnelRespDto.getBeginMemberList().stream().map(item -> BeanUtil.toBean(item, MemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1435818_1_57205
                }
                if (reqDto != null) {
                    implementMemberChannelConsistencyProcessComReqDto.setChannelId(reqDto.getMessageChannelId());//SimpleFieldAssign//sourceId:1435817_1_57205
                    implementMemberChannelConsistencyProcessComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1435822_1_57205
                }
                if (queryChannelDetailComRespDto != null) {
                    implementMemberChannelConsistencyProcessComReqDto.setChannelTypeCode(queryChannelDetailComRespDto.getChannelTypeCode());//SimpleFieldAssign//sourceId:1435821_1_57205
                }
                if (queryUserInfoDetailComRespDto != null) {
                    implementMemberChannelConsistencyProcessComReqDto.setSenderProfilePictureAddress(queryUserInfoDetailComRespDto.getUserFace());//SimpleFieldAssign//sourceId:1494085_1_57205
                    implementMemberChannelConsistencyProcessComReqDto.setNameOfSender(queryUserInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1494086_1_57205
                }

                /*D2执行成员通道一致性处理(公共)[8184]   */
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getChannelId(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-通道ID不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getChannelTypeCode(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-通道类型编码不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getMessageLocationTypeCode(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getBorcScene(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-toB或toC场景不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getSenderOriginalRoleMemberId(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-发送方身份人员ID不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getSenderUserId(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-发送方账号ID不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getSenderProfilePictureAddress(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-发送方头像地址不能为空", false);
                Assert.isNull(implementMemberChannelConsistencyProcessComReqDto.getNameOfSender(), "B2执行成员通道一致性处理-D2执行成员通道一致性处理(公共)-发送方姓名不能为空", false);
                implementMemberChannelConsistencyProcessComRespDto = fwCompMessageClient.implementMemberChannelConsistencyProcessCom(implementMemberChannelConsistencyProcessComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        }
        BffImplementMemberChannelConsistencyProcessRespDto retData = new BffImplementMemberChannelConsistencyProcessRespDto();


        return retData;
    }

    /**
     * B2执行托底通道及祖先消息数量[8292]
     * gen by moon at 1/16/2024, 8:25:09 PM
     */
    @Trace(operationName = "B2执行托底通道及祖先消息数量")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementNumberBottomChannelAncestorMessagesRespDto implementNumberBottomChannelAncestorMessages(BffImplementNumberBottomChannelAncestorMessagesReqDto reqDto) {


        ImplementNumberBottomChannelAncestorMessagesComRespDto implementNumberBottomChannelAncestorMessagesComRespDto_1 = null;
//步骤0: D2执行托底通道及祖先消息数量(公共) - implementNumberBottomChannelAncestorMessagesCom
        ImplementNumberBottomChannelAncestorMessagesComRespDto implementNumberBottomChannelAncestorMessagesComRespDto = null;
        ImplementNumberBottomChannelAncestorMessagesComReqDto implementNumberBottomChannelAncestorMessagesComReqDto = new ImplementNumberBottomChannelAncestorMessagesComReqDto();
        if (reqDto != null) {
            implementNumberBottomChannelAncestorMessagesComReqDto.setMessageLocationCode(reqDto.getMessageLocationCode());//SimpleFieldAssign//sourceId:1481254_1
            implementNumberBottomChannelAncestorMessagesComReqDto.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1481255_1
        }

        /*D2执行托底通道及祖先消息数量(公共)[8291]   */
        Assert.isNull(implementNumberBottomChannelAncestorMessagesComReqDto.getMessageLocationCode(), "B2执行托底通道及祖先消息数量-D2执行托底通道及祖先消息数量(公共)-消息位置标识不能为空", false);
        Assert.isNull(implementNumberBottomChannelAncestorMessagesComReqDto.getMsgChannelClassCode(), "B2执行托底通道及祖先消息数量-D2执行托底通道及祖先消息数量(公共)-消息使用通道类别不能为空", false);
        implementNumberBottomChannelAncestorMessagesComRespDto = fwCompMessageClient.implementNumberBottomChannelAncestorMessagesCom(implementNumberBottomChannelAncestorMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementNumberBottomChannelAncestorMessagesComRespDto_1 = implementNumberBottomChannelAncestorMessagesComRespDto;

        BffImplementNumberBottomChannelAncestorMessagesRespDto retData = new BffImplementNumberBottomChannelAncestorMessagesRespDto();
        if (implementNumberBottomChannelAncestorMessagesComRespDto_1 != null) {
            retData.setCalcResult(implementNumberBottomChannelAncestorMessagesComRespDto_1.getCalcResult());//SimpleFieldAssign//sourceId:1481259_1
        }


        return retData;
    }

    /**
     * B3执行托底内容状态消息数量[8293]
     * gen by moon at 1/18/2024, 2:10:04 AM
     */
    @Trace(operationName = "B3执行托底内容状态消息数量")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementNumberContentStatusMessagesRespDto implementNumberContentStatusMessages(BffImplementNumberContentStatusMessagesReqDto reqDto) {


        if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_REPORT_TASK"))) {
            //if(B3执行托底内容状态消息数量.状态更新使用场景 等于 汇报任务场景)  59304

            ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto = null;
            ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto = new ImplementConcurrentBehaviorThemeLockComReqDto();
            implementConcurrentBehaviorThemeLockComReqDto.setBehaviorThemeLockCode("REPORT_NUMBER_RELEVANT_BG_MESSAGES");//sourceId:1481649_1_59335
            implementConcurrentBehaviorThemeLockComReqDto.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1481650_1_59335
            implementConcurrentBehaviorThemeLockComReqDto.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1481654_1_59335
            implementConcurrentBehaviorThemeLockComReqDto.setTimeUnitType("MINUTES");//sourceId:1481655_1_59335
            implementConcurrentBehaviorThemeLockComReqDto.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1481657_1_59335
            implementConcurrentBehaviorThemeLockComReqDto.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1481656_1_59335
            if (reqDto != null) {
                implementConcurrentBehaviorThemeLockComReqDto.setCustomField1(reqDto.getReportTaskEvaRoom());//SimpleFieldAssign//sourceId:1481651_1_59335
                implementConcurrentBehaviorThemeLockComReqDto.setCustomField2(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1484442_1_59335
                implementConcurrentBehaviorThemeLockComReqDto.setCustomField3(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1484443_1_59335
            }

            /*D3汇报任务托底消息数量并发上锁(公共)[8296]   */
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-行为主题锁不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-通用主键ID不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getCustomField1(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-自定义字段1不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getCustomField2(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-自定义字段2不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getDuration(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-锁定时长不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getTimeUnitType(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-时间单位类型不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-并发上锁失败处理方式不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发上锁(公共)-防并发上锁or解锁不能为空", false);
            implementConcurrentBehaviorThemeLockComRespDto = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            if ((implementConcurrentBehaviorThemeLockComRespDto != null && implementConcurrentBehaviorThemeLockComRespDto.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                //if(D3我相关托底消息数量并发上锁(公共).防并发上锁情况 等于 空上锁成功)  59336

                BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto = null;
                BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto = new BottomUpdateNumberContentStatusMessagesComReqDto();
                if (reqDto != null) {
                    bottomUpdateNumberContentStatusMessagesComReqDto.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setReportTaskEvaRoom(reqDto.getReportTaskEvaRoom());//SimpleFieldAssign//sourceId:1481284_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1481287_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1481278_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1481286_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59337
                    bottomUpdateNumberContentStatusMessagesComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1481285_1_59337
                }

                /*D3-托底更新内容状态消息数量(公共)[8076]   */
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                bottomUpdateNumberContentStatusMessagesComRespDto = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_2 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_1 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_1.setBehaviorThemeLockCode("REPORT_NUMBER_RELEVANT_BG_MESSAGES");//sourceId:1481730_1_59338
                implementConcurrentBehaviorThemeLockComReqDto_1.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1481731_1_59338
                implementConcurrentBehaviorThemeLockComReqDto_1.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1481737_1_59338
                implementConcurrentBehaviorThemeLockComReqDto_1.setWhetherUnlockBulk("FALSE");//sourceId:1481740_1_59338
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_1.setCustomField1(reqDto.getReportTaskEvaRoom());//SimpleFieldAssign//sourceId:1481732_1_59338
                    implementConcurrentBehaviorThemeLockComReqDto_1.setCustomField2(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1484444_1_59338
                    implementConcurrentBehaviorThemeLockComReqDto_1.setCustomField3(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1484445_1_59338
                }

                /*D3汇报任务托底消息数量并发解锁(公共)[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getCustomField1(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getCustomField2(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_1.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3汇报任务托底消息数量并发解锁(公共)-是否批量解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_2 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("TASK")) && (reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("SUB_DEPT_WORK_TASK") || reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("DEPT_MEMBER_WORK_TASK"))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 任务) and (B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 下属部门汇报任务 or B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 部门成员任务))  59305

            if ((reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("TOP") && reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("SUB_DEPT_WORK_TASK"))) {
                //if((B3执行托底内容状态消息数量.高/中/基层操作场景 等于 高层 and B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 下属部门汇报任务))  59307

                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_4 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_2 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_2.setBehaviorThemeLockCode("ALL_ISSUES_SENIOR_DEPT_BG_MESSAGES");//sourceId:1482589_1_59446
                implementConcurrentBehaviorThemeLockComReqDto_2.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482592_1_59446
                implementConcurrentBehaviorThemeLockComReqDto_2.setTimeUnitType("MINUTES");//sourceId:1482593_1_59446
                implementConcurrentBehaviorThemeLockComReqDto_2.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482594_1_59446
                implementConcurrentBehaviorThemeLockComReqDto_2.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482595_1_59446
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_2.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482590_1_59446
                    implementConcurrentBehaviorThemeLockComReqDto_2.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482591_1_59446
                    implementConcurrentBehaviorThemeLockComReqDto_2.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482709_1_59446
                }

                /*D3高层部门工作任务托底消息数量并发上锁(公共)[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getCustomField1(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getCustomField2(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getDuration(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-锁定时长不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getTimeUnitType(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-时间单位类型不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-并发上锁失败处理方式不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_2.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发上锁(公共)-防并发上锁or解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_4 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                if ((implementConcurrentBehaviorThemeLockComRespDto_4 != null && implementConcurrentBehaviorThemeLockComRespDto_4.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_4.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D3高层部门所有问题托底消息数量并发上锁(公共).防并发上锁情况 等于 空上锁成功)  59454

                    BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_1 = null;
                    BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_1 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                    if (reqDto != null) {
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setWorkTaskMgtScreen(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1481273_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setTaskStatusScreen(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1481274_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1481278_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1481286_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59455
                        bottomUpdateNumberContentStatusMessagesComReqDto_1.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59455
                    }

                    /*D3-托底更新内容状态消息数量(公共)[8076]   */
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_1.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_1.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                    bottomUpdateNumberContentStatusMessagesComRespDto_1 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                    ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_6 = null;
                    ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_3 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                    implementConcurrentBehaviorThemeLockComReqDto_3.setBehaviorThemeLockCode("ALL_ISSUES_SENIOR_DEPT_BG_MESSAGES");//sourceId:1482596_1_59456
                    implementConcurrentBehaviorThemeLockComReqDto_3.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482599_1_59456
                    implementConcurrentBehaviorThemeLockComReqDto_3.setWhetherUnlockBulk("FALSE");//sourceId:1482600_1_59456
                    if (reqDto != null) {
                        implementConcurrentBehaviorThemeLockComReqDto_3.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482597_1_59456
                        implementConcurrentBehaviorThemeLockComReqDto_3.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482598_1_59456
                        implementConcurrentBehaviorThemeLockComReqDto_3.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482710_1_59456
                    }

                    /*D3高层部门工作任务托底消息数量并发解锁(公共)[8296]   */
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-行为主题锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-通用主键ID不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getCustomField1(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-自定义字段1不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getCustomField2(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-自定义字段2不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_3.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3高层部门工作任务托底消息数量并发解锁(公共)-是否批量解锁不能为空", false);
                    implementConcurrentBehaviorThemeLockComRespDto_6 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            } else if ((reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("MID") || reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("BASIC")) && (reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("SUB_DEPT_WORK_TASK"))) {
                //elseif((B3执行托底内容状态消息数量.高/中/基层操作场景 等于 中层 or B3执行托底内容状态消息数量.高/中/基层操作场景 等于 基层) and B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 下属部门汇报任务)  59308

                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_8 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_4 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_4.setBehaviorThemeLockCode("WORK_TASKS_SUBORDINATE_DEPT_GRASSROOTS_LEVEL_BG_MESSAGES");//sourceId:1482601_1_59457
                implementConcurrentBehaviorThemeLockComReqDto_4.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482606_1_59457
                implementConcurrentBehaviorThemeLockComReqDto_4.setTimeUnitType("MINUTES");//sourceId:1482607_1_59457
                implementConcurrentBehaviorThemeLockComReqDto_4.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482609_1_59457
                implementConcurrentBehaviorThemeLockComReqDto_4.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482608_1_59457
                implementConcurrentBehaviorThemeLockComReqDto_4.setWhetherUnlockBulk("FALSE");//sourceId:1482611_1_59457
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_4.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482602_1_59457
                    implementConcurrentBehaviorThemeLockComReqDto_4.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482603_1_59457
                    implementConcurrentBehaviorThemeLockComReqDto_4.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482711_1_59457
                }

                /*D3中基层下属部门工作任务托底消息数量并发上锁（公共）[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getDuration(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-锁定时长不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getTimeUnitType(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-时间单位类型不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-并发上锁失败处理方式不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_4.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发上锁（公共）-是否批量解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_8 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_4).getData()/*vcase invoke 跨dubbo调用;*/;


                if ((implementConcurrentBehaviorThemeLockComRespDto_8 != null && implementConcurrentBehaviorThemeLockComRespDto_8.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_8.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D3中基层下属部门工作任务托底消息数量并发上锁（公共）.防并发上锁情况 等于 空上锁成功)  59458

                    BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_2 = null;
                    BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_2 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                    if (reqDto != null) {
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setWorkTaskMgtScreen(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1481273_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setTaskStatusScreen(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1481274_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1481278_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1481286_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59460
                        bottomUpdateNumberContentStatusMessagesComReqDto_2.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59460
                    }

                    /*D3-托底更新内容状态消息数量(公共)[8076]   */
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_2.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_2.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                    bottomUpdateNumberContentStatusMessagesComRespDto_2 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                    ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_10 = null;
                    ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_5 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                    implementConcurrentBehaviorThemeLockComReqDto_5.setBehaviorThemeLockCode("WORK_TASKS_SUBORDINATE_DEPT_GRASSROOTS_LEVEL_BG_MESSAGES");//sourceId:1482623_1_59461
                    implementConcurrentBehaviorThemeLockComReqDto_5.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482626_1_59461
                    implementConcurrentBehaviorThemeLockComReqDto_5.setWhetherUnlockBulk("FALSE");//sourceId:1482627_1_59461
                    if (reqDto != null) {
                        implementConcurrentBehaviorThemeLockComReqDto_5.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482624_1_59461
                        implementConcurrentBehaviorThemeLockComReqDto_5.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482625_1_59461
                        implementConcurrentBehaviorThemeLockComReqDto_5.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482712_1_59461
                    }

                    /*D3中基层下属部门工作任务托底消息数量并发解锁（公共）[8296]   */
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-行为主题锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-通用主键ID不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-自定义字段1不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-自定义字段2不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_5.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3中基层下属部门工作任务托底消息数量并发解锁（公共）-是否批量解锁不能为空", false);
                    implementConcurrentBehaviorThemeLockComRespDto_10 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_5).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            } else if ((reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("MID") || reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("BASIC")) && (reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("DEPT_MEMBER_WORK_TASK"))) {
                //elseif((B3执行托底内容状态消息数量.高/中/基层操作场景 等于 中层 or B3执行托底内容状态消息数量.高/中/基层操作场景 等于 基层) and B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 部门成员任务)  59309

                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_12 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_6 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_6.setBehaviorThemeLockCode("WORK_TASKS_GRASSROOTS_DEPT_BG_MESSAGES");//sourceId:1482628_1_59462
                implementConcurrentBehaviorThemeLockComReqDto_6.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482633_1_59462
                implementConcurrentBehaviorThemeLockComReqDto_6.setTimeUnitType("MINUTES");//sourceId:1482634_1_59462
                implementConcurrentBehaviorThemeLockComReqDto_6.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482636_1_59462
                implementConcurrentBehaviorThemeLockComReqDto_6.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482635_1_59462
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_6.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482629_1_59462
                    implementConcurrentBehaviorThemeLockComReqDto_6.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482630_1_59462
                    implementConcurrentBehaviorThemeLockComReqDto_6.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482713_1_59462
                }

                /*D3中基层部门工作任务托底消息数量并发上锁（公共）[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getDuration(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-锁定时长不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getTimeUnitType(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-时间单位类型不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-并发上锁失败处理方式不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_6.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发上锁（公共）-防并发上锁or解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_12 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_6).getData()/*vcase invoke 跨dubbo调用;*/;


                if ((implementConcurrentBehaviorThemeLockComRespDto_12 != null && implementConcurrentBehaviorThemeLockComRespDto_12.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_12.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D3中基层部门工作任务托底消息数量并发上锁（公共）.防并发上锁情况 等于 空上锁成功)  59463

                    BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_3 = null;
                    BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_3 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                    if (reqDto != null) {
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setWorkTaskMgtScreen(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1481273_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setTaskStatusScreen(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1481274_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1481278_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1481286_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59464
                        bottomUpdateNumberContentStatusMessagesComReqDto_3.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59464
                    }

                    /*D3-托底更新内容状态消息数量(公共)[8076]   */
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_3.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_3.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                    bottomUpdateNumberContentStatusMessagesComRespDto_3 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


                    ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_14 = null;
                    ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_7 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                    implementConcurrentBehaviorThemeLockComReqDto_7.setBehaviorThemeLockCode("WORK_TASKS_GRASSROOTS_DEPT_BG_MESSAGES");//sourceId:1482650_1_59465
                    implementConcurrentBehaviorThemeLockComReqDto_7.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482653_1_59465
                    implementConcurrentBehaviorThemeLockComReqDto_7.setWhetherUnlockBulk("FALSE");//sourceId:1482654_1_59465
                    if (reqDto != null) {
                        implementConcurrentBehaviorThemeLockComReqDto_7.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482651_1_59465
                        implementConcurrentBehaviorThemeLockComReqDto_7.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482652_1_59465
                        implementConcurrentBehaviorThemeLockComReqDto_7.setCustomField2(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1482714_1_59465
                    }

                    /*D3中基层部门工作任务托底消息数量并发解锁（公共）[8296]   */
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-行为主题锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-通用主键ID不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-自定义字段1不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-自定义字段2不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_7.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3中基层部门工作任务托底消息数量并发解锁（公共）-是否批量解锁不能为空", false);
                    implementConcurrentBehaviorThemeLockComRespDto_14 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_7).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            }
        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("PROBLEM")) && (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("ALL_QUESTION"))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 问题) and B3执行托底内容状态消息数量.问题提出类型筛选条件 等于 所有问题)  59310

            if ((reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("TOP") && reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("ALL_QUESTION"))) {
                //if((B3执行托底内容状态消息数量.高/中/基层操作场景 等于 高层 and B3执行托底内容状态消息数量.问题提出类型筛选条件 等于 所有问题))  59312

                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_16 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_8 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_8.setBehaviorThemeLockCode("ALL_ISSUES_SENIOR_DEPT_BG_MESSAGES");//sourceId:1482655_1_59466
                implementConcurrentBehaviorThemeLockComReqDto_8.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482660_1_59466
                implementConcurrentBehaviorThemeLockComReqDto_8.setTimeUnitType("MINUTES");//sourceId:1482661_1_59466
                implementConcurrentBehaviorThemeLockComReqDto_8.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482663_1_59466
                implementConcurrentBehaviorThemeLockComReqDto_8.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482662_1_59466
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_8.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482656_1_59466
                    implementConcurrentBehaviorThemeLockComReqDto_8.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482657_1_59466
                    implementConcurrentBehaviorThemeLockComReqDto_8.setCustomField2(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1482715_1_59466
                }

                /*D3高层部门所有问题托底消息数量并发上锁(公共)[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getCustomField1(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getCustomField2(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getDuration(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-锁定时长不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getTimeUnitType(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-时间单位类型不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-并发上锁失败处理方式不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_8.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发上锁(公共)-防并发上锁or解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_16 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_8).getData()/*vcase invoke 跨dubbo调用;*/;


                if ((implementConcurrentBehaviorThemeLockComRespDto_16 != null && implementConcurrentBehaviorThemeLockComRespDto_16.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_16.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D3高层部门所有问题托底消息数量并发上锁(公共).防并发上锁情况 等于 空上锁成功)  59467

                    BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_4 = null;
                    BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_4 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                    if (reqDto != null) {
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setQuestionAngleScreen(reqDto.getQuestionAngleScreen());//SimpleFieldAssign//sourceId:1481283_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setQuestionStatusScreen(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1481275_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setQuestionProposeTypeScreen(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1481276_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59468
                        bottomUpdateNumberContentStatusMessagesComReqDto_4.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59468
                    }

                    /*D3-托底更新内容状态消息数量(公共)[8076]   */
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_4.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_4.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                    bottomUpdateNumberContentStatusMessagesComRespDto_4 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_4).getData()/*vcase invoke 跨dubbo调用;*/;


                    ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_18 = null;
                    ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_9 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                    implementConcurrentBehaviorThemeLockComReqDto_9.setBehaviorThemeLockCode("ALL_ISSUES_SENIOR_DEPT_BG_MESSAGES");//sourceId:1482699_1_59469
                    implementConcurrentBehaviorThemeLockComReqDto_9.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482702_1_59469
                    implementConcurrentBehaviorThemeLockComReqDto_9.setWhetherUnlockBulk("FALSE");//sourceId:1482703_1_59469
                    if (reqDto != null) {
                        implementConcurrentBehaviorThemeLockComReqDto_9.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482700_1_59469
                        implementConcurrentBehaviorThemeLockComReqDto_9.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482701_1_59469
                        implementConcurrentBehaviorThemeLockComReqDto_9.setCustomField2(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1482716_1_59469
                    }

                    /*D3高层部门所有问题托底消息数量并发解锁(公共)[8296]   */
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_9.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发解锁(公共)-行为主题锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_9.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发解锁(公共)-通用主键ID不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_9.getCustomField1(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发解锁(公共)-自定义字段1不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_9.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发解锁(公共)-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_9.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3高层部门所有问题托底消息数量并发解锁(公共)-是否批量解锁不能为空", false);
                    implementConcurrentBehaviorThemeLockComRespDto_18 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_9).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            } else if ((reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("MID") || reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("BASIC")) && (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("ALL_QUESTION"))) {
                //elseif((B3执行托底内容状态消息数量.高/中/基层操作场景 等于 中层 or B3执行托底内容状态消息数量.高/中/基层操作场景 等于 基层) and B3执行托底内容状态消息数量.问题提出类型筛选条件 等于 所有问题)  59313

                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_20 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_10 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_10.setBehaviorThemeLockCode("ALL_ISSUES_GRASSROOTS_DEPT_BG_MESSAGES");//sourceId:1482677_1_59470
                implementConcurrentBehaviorThemeLockComReqDto_10.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482682_1_59470
                implementConcurrentBehaviorThemeLockComReqDto_10.setTimeUnitType("MINUTES");//sourceId:1482683_1_59470
                implementConcurrentBehaviorThemeLockComReqDto_10.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482685_1_59470
                implementConcurrentBehaviorThemeLockComReqDto_10.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482684_1_59470
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_10.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482678_1_59470
                    implementConcurrentBehaviorThemeLockComReqDto_10.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482679_1_59470
                    implementConcurrentBehaviorThemeLockComReqDto_10.setCustomField2(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1482717_1_59470
                }

                /*D3中基层部门所有问题托底消息数量并发上锁（公共）[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getDuration(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-锁定时长不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getTimeUnitType(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-时间单位类型不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-并发上锁失败处理方式不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_10.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发上锁（公共）-防并发上锁or解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_20 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_10).getData()/*vcase invoke 跨dubbo调用;*/;


                if ((implementConcurrentBehaviorThemeLockComRespDto_20 != null && implementConcurrentBehaviorThemeLockComRespDto_20.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_20.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                    //if(D3中基层部门所有问题托底消息数量并发上锁（公共）.防并发上锁情况 等于 空上锁成功)  59471

                    BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_5 = null;
                    BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_5 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                    if (reqDto != null) {
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setQuestionAngleScreen(reqDto.getQuestionAngleScreen());//SimpleFieldAssign//sourceId:1481283_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setQuestionStatusScreen(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1481275_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setQuestionProposeTypeScreen(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1481276_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1481863_1_59472
                        bottomUpdateNumberContentStatusMessagesComReqDto_5.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59472
                    }

                    /*D3-托底更新内容状态消息数量(公共)[8076]   */
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_5.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_5.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                    bottomUpdateNumberContentStatusMessagesComRespDto_5 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_5).getData()/*vcase invoke 跨dubbo调用;*/;


                    ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_22 = null;
                    ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_11 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                    implementConcurrentBehaviorThemeLockComReqDto_11.setBehaviorThemeLockCode("ALL_ISSUES_GRASSROOTS_DEPT_BG_MESSAGES");//sourceId:1482704_1_59473
                    implementConcurrentBehaviorThemeLockComReqDto_11.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482707_1_59473
                    implementConcurrentBehaviorThemeLockComReqDto_11.setWhetherUnlockBulk("FALSE");//sourceId:1482708_1_59473
                    if (reqDto != null) {
                        implementConcurrentBehaviorThemeLockComReqDto_11.setCommPrimaryKey(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1482705_1_59473
                        implementConcurrentBehaviorThemeLockComReqDto_11.setCustomField1(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1482706_1_59473
                        implementConcurrentBehaviorThemeLockComReqDto_11.setCustomField2(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1482718_1_59473
                    }

                    /*D3中基层部门所有问题托底消息数量并发解锁（公共）[8296]   */
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-行为主题锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-通用主键ID不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getCustomField1(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-自定义字段1不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getCustomField2(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-自定义字段2不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-防并发上锁or解锁不能为空", false);
                    Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_11.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3中基层部门所有问题托底消息数量并发解锁（公共）-是否批量解锁不能为空", false);
                    implementConcurrentBehaviorThemeLockComRespDto_22 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_11).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            }
        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("TASK") && reqDto != null && reqDto.getWorkTaskMgtScreen() != null && reqDto.getWorkTaskMgtScreen().equals("REPORT_TO_ME_WORK_TASK") && !(reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("UCD")))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 任务 and B3执行托底内容状态消息数量.工作任务管理筛选条件 等于 汇报给我的 and B3执行托底内容状态消息数量.高/中/基层操作场景 不等于 UCD框架))  59507

            ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_24 = null;
            ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_12 = new ImplementConcurrentBehaviorThemeLockComReqDto();
            implementConcurrentBehaviorThemeLockComReqDto_12.setBehaviorThemeLockCode("WORK_REPORT_TASK_ME_LOCK_NUMBER_SWIPES");//sourceId:1484446_1_59508
            implementConcurrentBehaviorThemeLockComReqDto_12.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1484447_1_59508
            implementConcurrentBehaviorThemeLockComReqDto_12.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1484451_1_59508
            implementConcurrentBehaviorThemeLockComReqDto_12.setTimeUnitType("MINUTES");//sourceId:1484452_1_59508
            implementConcurrentBehaviorThemeLockComReqDto_12.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1484454_1_59508
            implementConcurrentBehaviorThemeLockComReqDto_12.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1484453_1_59508
            if (reqDto != null) {
                implementConcurrentBehaviorThemeLockComReqDto_12.setCustomField1(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1484448_1_59508
                implementConcurrentBehaviorThemeLockComReqDto_12.setCustomField2(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1484449_1_59508
            }

            /*D3执行工作任务汇报给我的并发行为上主题锁(公共)[8296]   */
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-行为主题锁不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-通用主键ID不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getCustomField1(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-自定义字段1不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getCustomField2(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-自定义字段2不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getDuration(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-锁定时长不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getTimeUnitType(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-时间单位类型不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-并发上锁失败处理方式不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_12.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为上主题锁(公共)-防并发上锁or解锁不能为空", false);
            implementConcurrentBehaviorThemeLockComRespDto_24 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_12).getData()/*vcase invoke 跨dubbo调用;*/;


            if ((implementConcurrentBehaviorThemeLockComRespDto_24 != null && implementConcurrentBehaviorThemeLockComRespDto_24.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_24.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                //if(D3执行工作任务汇报给我的与接收场景并发行为上主题锁(公共).防并发上锁情况 等于 空上锁成功)  59516

                BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_6 = null;
                BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_6 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                if (reqDto != null) {
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59517
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59517
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59517
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setWorkTaskMgtScreen(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1481273_1_59517
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setTaskStatusScreen(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1481274_1_59517
                    bottomUpdateNumberContentStatusMessagesComReqDto_6.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59517
                }

                /*D3-托底更新内容状态消息数量(公共)[8076]   */
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_6.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_6.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                bottomUpdateNumberContentStatusMessagesComRespDto_6 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_6).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_26 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_13 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_13.setBehaviorThemeLockCode("WORK_REPORT_TASK_ME_LOCK_NUMBER_SWIPES");//sourceId:1484457_1_59519
                implementConcurrentBehaviorThemeLockComReqDto_13.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1484458_1_59519
                implementConcurrentBehaviorThemeLockComReqDto_13.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1484464_1_59519
                implementConcurrentBehaviorThemeLockComReqDto_13.setWhetherUnlockBulk("FALSE");//sourceId:1484467_1_59519
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_13.setCustomField1(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1484459_1_59519
                    implementConcurrentBehaviorThemeLockComReqDto_13.setCustomField2(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1484460_1_59519
                }

                /*D3执行工作任务汇报给我的并发行为解主题锁(公共)[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getCustomField1(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getCustomField2(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-自定义字段2不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_13.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3执行工作任务汇报给我的并发行为解主题锁(公共)-是否批量解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_26 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_13).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("PROBLEM") && !(reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("UCD"))) && (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("MY_QUESTION"))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 问题 and B3执行托底内容状态消息数量.高/中/基层操作场景 不等于 UCD框架) and B3执行托底内容状态消息数量.问题提出类型筛选条件 等于 我发起的)  59526

            ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_28 = null;
            ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_14 = new ImplementConcurrentBehaviorThemeLockComReqDto();
            implementConcurrentBehaviorThemeLockComReqDto_14.setBehaviorThemeLockCode("I_INITIATED_THE_ISSUE_LOCK_NUMBER_SWIPES");//sourceId:1482400_1_59527
            implementConcurrentBehaviorThemeLockComReqDto_14.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1482401_1_59527
            implementConcurrentBehaviorThemeLockComReqDto_14.setDuration(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1482405_1_59527
            implementConcurrentBehaviorThemeLockComReqDto_14.setTimeUnitType("MINUTES");//sourceId:1482406_1_59527
            implementConcurrentBehaviorThemeLockComReqDto_14.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1482408_1_59527
            implementConcurrentBehaviorThemeLockComReqDto_14.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1482407_1_59527
            if (reqDto != null) {
                implementConcurrentBehaviorThemeLockComReqDto_14.setCustomField1(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1484791_1_59527
            }

            /*D3执行问题我发起托底相关消息数量并发上锁(公共)[8296]   */
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-行为主题锁不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-通用主键ID不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getCustomField1(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-自定义字段1不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getDuration(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-锁定时长不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getTimeUnitType(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-时间单位类型不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getHandlingMethodConcurrentLockFailure(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-并发上锁失败处理方式不能为空", false);
            Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_14.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发上锁(公共)-防并发上锁or解锁不能为空", false);
            implementConcurrentBehaviorThemeLockComRespDto_28 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_14).getData()/*vcase invoke 跨dubbo调用;*/;


            if ((implementConcurrentBehaviorThemeLockComRespDto_28 != null && implementConcurrentBehaviorThemeLockComRespDto_28.getPreventConcurrentLockingSituations() != null && implementConcurrentBehaviorThemeLockComRespDto_28.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
                //if(D3执行问题我发起与接收场景托底相关消息数量并发上锁(公共).防并发上锁情况 等于 空上锁成功)  59530

                BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto_7 = null;
                BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto_7 = new BottomUpdateNumberContentStatusMessagesComReqDto();
                if (reqDto != null) {
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1481279_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1481280_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1481277_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setQuestionAngleScreen(reqDto.getQuestionAngleScreen());//SimpleFieldAssign//sourceId:1481283_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setQuestionStatusScreen(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1481275_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setQuestionProposeTypeScreen(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1481276_1_59531
                    bottomUpdateNumberContentStatusMessagesComReqDto_7.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1481281_1_59531
                }

                /*D3-托底更新内容状态消息数量(公共)[8076]   */
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_7.getSceneOfUpdateStatus(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
                Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto_7.getTotals(), "B3执行托底内容状态消息数量-D3-托底更新内容状态消息数量(公共)-数据总条数不能为空", false);
                bottomUpdateNumberContentStatusMessagesComRespDto_7 = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto_7).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementConcurrentBehaviorThemeLockComRespDto implementConcurrentBehaviorThemeLockComRespDto_30 = null;
                ImplementConcurrentBehaviorThemeLockComReqDto implementConcurrentBehaviorThemeLockComReqDto_15 = new ImplementConcurrentBehaviorThemeLockComReqDto();
                implementConcurrentBehaviorThemeLockComReqDto_15.setBehaviorThemeLockCode("I_INITIATED_THE_ISSUE_LOCK_NUMBER_SWIPES");//sourceId:1482411_1_59532
                implementConcurrentBehaviorThemeLockComReqDto_15.setCommPrimaryKey(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1482412_1_59532
                implementConcurrentBehaviorThemeLockComReqDto_15.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1482418_1_59532
                implementConcurrentBehaviorThemeLockComReqDto_15.setWhetherUnlockBulk("FALSE");//sourceId:1482421_1_59532
                if (reqDto != null) {
                    implementConcurrentBehaviorThemeLockComReqDto_15.setCustomField1(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1484968_1_59532
                }

                /*D3执行问题我发起托底相关消息数量并发解锁(公共)[8296]   */
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_15.getBehaviorThemeLockCode(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发解锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_15.getCommPrimaryKey(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发解锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_15.getCustomField1(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发解锁(公共)-自定义字段1不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_15.getPreventConcurrentLockingUnlocking(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发解锁(公共)-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcurrentBehaviorThemeLockComReqDto_15.getWhetherUnlockBulk(), "B3执行托底内容状态消息数量-D3执行问题我发起托底相关消息数量并发解锁(公共)-是否批量解锁不能为空", false);
                implementConcurrentBehaviorThemeLockComRespDto_30 = fwAppInterfaceModeClient.implementConcurrentBehaviorThemeLockCom(implementConcurrentBehaviorThemeLockComReqDto_15).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("TASK") && reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("UCD"))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 任务 and B3执行托底内容状态消息数量.高/中/基层操作场景 等于 UCD框架))  59544

        } else if ((reqDto != null && reqDto.getSceneOfUpdateStatus() != null && reqDto.getSceneOfUpdateStatus().equals("SCENE_OF_WORK_TASK") && reqDto != null && reqDto.getWorkTaskObjectType() != null && reqDto.getWorkTaskObjectType().equals("PROBLEM") && reqDto != null && reqDto.getBatchOperateScene() != null && reqDto.getBatchOperateScene().equals("UCD"))) {
            //elseif((B3执行托底内容状态消息数量.状态更新使用场景 等于 工作任务场景 and B3执行托底内容状态消息数量.工作任务对象类型 等于 问题 and B3执行托底内容状态消息数量.高/中/基层操作场景 等于 UCD框架))  59549

        } else {
            //else  59314

//异常结束 59535
            throw new BizException("500", "系统异常，请联系管理员！", false);
        }
        BffImplementNumberContentStatusMessagesRespDto retData = new BffImplementNumberContentStatusMessagesRespDto();


        return retData;
    }

    /**
     * B3执行托底固定位置消息数量[8307]
     * gen by moon at 1/18/2024, 7:21:31 PM
     */
    @Trace(operationName = "B3执行托底固定位置消息数量")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementReassuredPositionMsgNumRespDto implementReassuredPositionMsgNum(BffImplementReassuredPositionMsgNumReqDto reqDto) {


        ImplementReassuredPositionMsgNumComRespDto implementReassuredPositionMsgNumComRespDto_1 = null;
//步骤0: D3执行托底固定位置消息数量(公共) - implementReassuredPositionMsgNumCom
        ImplementReassuredPositionMsgNumComRespDto implementReassuredPositionMsgNumComRespDto = null;
        ImplementReassuredPositionMsgNumComReqDto implementReassuredPositionMsgNumComReqDto = new ImplementReassuredPositionMsgNumComReqDto();
        if (reqDto != null) {
            implementReassuredPositionMsgNumComReqDto.setCurrentNumberContentStatusEntries(reqDto.getCurrentNumberContentStatusEntries());//SimpleFieldAssign//sourceId:1490078_1
            implementReassuredPositionMsgNumComReqDto.setReportTaskEvaRoom(reqDto.getReportTaskEvaRoom());//SimpleFieldAssign//sourceId:1490088_1
            implementReassuredPositionMsgNumComReqDto.setReportTakMessageLocationCode(reqDto.getReportTakMessageLocationCode());//SimpleFieldAssign//sourceId:1490089_1
            implementReassuredPositionMsgNumComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1490079_1
            implementReassuredPositionMsgNumComReqDto.setMessageLocationCode(reqDto.getMessageLocationCode());//SimpleFieldAssign//sourceId:1490075_1
            implementReassuredPositionMsgNumComReqDto.setSurfaceCode(reqDto.getSurfaceCode());//SimpleFieldAssign//sourceId:1490081_1
            implementReassuredPositionMsgNumComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1490076_1
            implementReassuredPositionMsgNumComReqDto.setExtendedContentId(reqDto.getExtendedContentId());//SimpleFieldAssign//sourceId:1490077_1
            implementReassuredPositionMsgNumComReqDto.setBehaviorThemeLockCode(reqDto.getBehaviorThemeLockCode());//SimpleFieldAssign//sourceId:1490080_1
            implementReassuredPositionMsgNumComReqDto.setCommPrimaryKey(reqDto.getCommPrimaryKey());//SimpleFieldAssign//sourceId:1490082_1
            implementReassuredPositionMsgNumComReqDto.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:1490083_1
            implementReassuredPositionMsgNumComReqDto.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:1490084_1
            implementReassuredPositionMsgNumComReqDto.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:1490085_1
            implementReassuredPositionMsgNumComReqDto.setDuration(reqDto.getDuration());//SimpleFieldAssign//sourceId:1490086_1
            implementReassuredPositionMsgNumComReqDto.setTimeUnitType(reqDto.getTimeUnitType());//SimpleFieldAssign//sourceId:1490087_1
        }

        /*D3执行托底固定位置消息数量(公共)[8306]   */
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getCurrentNumberContentStatusEntries(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-当前内容状态条数不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getMessageLocationCode(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-消息位置标识不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getSurfaceCode(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-归属内容类型编码不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getBehaviorThemeLockCode(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-行为主题锁不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getCommPrimaryKey(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-通用主键ID不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getDuration(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-锁定时长不能为空", false);
        Assert.isNull(implementReassuredPositionMsgNumComReqDto.getTimeUnitType(), "B3执行托底固定位置消息数量-D3执行托底固定位置消息数量(公共)-时间单位类型不能为空", false);
        implementReassuredPositionMsgNumComRespDto = fwAppMessageClient.implementReassuredPositionMsgNumCom(implementReassuredPositionMsgNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementReassuredPositionMsgNumComRespDto_1 = implementReassuredPositionMsgNumComRespDto;

        BffImplementReassuredPositionMsgNumRespDto retData = new BffImplementReassuredPositionMsgNumRespDto();
        if (implementReassuredPositionMsgNumComRespDto_1 != null) {
            retData.setPreventConcurrentLockingSituations(implementReassuredPositionMsgNumComRespDto_1.getPreventConcurrentLockingSituations());//SimpleFieldAssign//sourceId:1490109_1
            retData.setMessageNum(implementReassuredPositionMsgNumComRespDto_1.getMessageNum());//SimpleFieldAssign//sourceId:1490370_1
            retData.setCalcResult(implementReassuredPositionMsgNumComRespDto_1.getCalcResult());//SimpleFieldAssign//sourceId:1490111_1
            retData.setReportTaskMsgNum(implementReassuredPositionMsgNumComRespDto_1.getReportTaskMsgNum());//SimpleFieldAssign//sourceId:1490112_1
        }


        return retData;
    }

    /**
     * B3托底更新内容状态消息数量[8309]
     * gen by moon at 1/19/2024, 12:44:10 AM
     */
    @Trace(operationName = "B3托底更新内容状态消息数量")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBottomUpdateNumberContentStatusMessagesRespDto bottomUpdateNumberContentStatusMessages(BffBottomUpdateNumberContentStatusMessagesReqDto reqDto) {


        //步骤0: D3托底更新内容状态消息数量(公共) - bottomUpdateNumberContentStatusMessagesCom
        BottomUpdateNumberContentStatusMessagesComRespDto bottomUpdateNumberContentStatusMessagesComRespDto = null;
        BottomUpdateNumberContentStatusMessagesComReqDto bottomUpdateNumberContentStatusMessagesComReqDto = new BottomUpdateNumberContentStatusMessagesComReqDto();
        if (reqDto != null) {
            bottomUpdateNumberContentStatusMessagesComReqDto.setSceneOfUpdateStatus(reqDto.getSceneOfUpdateStatus());//SimpleFieldAssign//sourceId:1490895_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setWorkTaskObjectType(reqDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1490896_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1490893_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setWorkTaskMgtScreen(reqDto.getWorkTaskMgtScreen());//SimpleFieldAssign//sourceId:1490889_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setTaskStatusScreen(reqDto.getTaskStatusScreen());//SimpleFieldAssign//sourceId:1490890_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setQuestionAngleScreen(reqDto.getQuestionAngleScreen());//SimpleFieldAssign//sourceId:1490898_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setQuestionStatusScreen(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1490891_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setQuestionProposeTypeScreen(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1490892_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setReportTaskEvaRoom(reqDto.getReportTaskEvaRoom());//SimpleFieldAssign//sourceId:1490899_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setStateCode(reqDto.getStateCode());//SimpleFieldAssign//sourceId:1490902_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setIsOverdue(reqDto.getIsOverdue());//SimpleFieldAssign//sourceId:1490894_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setIsComplete(reqDto.getIsComplete());//SimpleFieldAssign//sourceId:1490901_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1490903_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setTotals(reqDto.getTotals());//SimpleFieldAssign//sourceId:1490897_1
            bottomUpdateNumberContentStatusMessagesComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1490900_1
        }

        /*D3托底更新内容状态消息数量(公共)[8076]   */
        Assert.isNull(bottomUpdateNumberContentStatusMessagesComReqDto.getSceneOfUpdateStatus(), "B3托底更新内容状态消息数量-D3托底更新内容状态消息数量(公共)-状态更新使用场景不能为空", false);
        bottomUpdateNumberContentStatusMessagesComRespDto = fwAppMessageClient.bottomUpdateNumberContentStatusMessagesCom(bottomUpdateNumberContentStatusMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffBottomUpdateNumberContentStatusMessagesRespDto retData = new BffBottomUpdateNumberContentStatusMessagesRespDto();


        return retData;
    }

    /**
     * B2执行设已读公开圈子消息列表[8320]
     * gen by moon at 1/21/2024, 11:41:18 PM
     */
    @Trace(operationName = "B2执行设已读公开圈子消息列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementSetUpPublicCircleMessagesRespDto implementSetUpPublicCircleMessages(BffImplementSetUpPublicCircleMessagesReqDto reqDto) {


        //步骤0: D2行设已读公开圈子消息列表(公共) - implementSetUpPublicCircleMessagesCom
        ImplementSetUpPublicCircleMessagesComRespDto implementSetUpPublicCircleMessagesComRespDto = null;
        ImplementSetUpPublicCircleMessagesComReqDto implementSetUpPublicCircleMessagesComReqDto = new ImplementSetUpPublicCircleMessagesComReqDto();
        implementSetUpPublicCircleMessagesComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1494193_1
        implementSetUpPublicCircleMessagesComReqDto.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1494190_1
        implementSetUpPublicCircleMessagesComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1494191_1
        implementSetUpPublicCircleMessagesComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1494192_1
        if (reqDto != null) {
            implementSetUpPublicCircleMessagesComReqDto.setMessageLocationTypeCode(reqDto.getMessageLocationTypeCode());//SimpleFieldAssign//sourceId:1494195_1
            implementSetUpPublicCircleMessagesComReqDto.setMsgChannelClassCode(reqDto.getMsgChannelClassCode());//SimpleFieldAssign//sourceId:1494194_1
        }

        /*D2行设已读公开圈子消息列表(公共)[8318]   */
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getMessageLocationTypeCode(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-消息位置标识不能为空", false);
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getMsgChannelClassCode(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-消息使用通道类别不能为空", false);
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getOriginalRoleMemberId(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-归属身份人员ID不能为空", false);
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getCreateInductionId(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-创建人就职记录ID不能为空", false);
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getSpaceId(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-创建于空间ID不能为空", false);
        Assert.isNull(implementSetUpPublicCircleMessagesComReqDto.getAppId(), "B2执行设已读公开圈子消息列表-D2行设已读公开圈子消息列表(公共)-创建于联盟应用ID不能为空", false);
        implementSetUpPublicCircleMessagesComRespDto = fwCompMessageClient.implementSetUpPublicCircleMessagesCom(implementSetUpPublicCircleMessagesComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffImplementSetUpPublicCircleMessagesRespDto retData = new BffImplementSetUpPublicCircleMessagesRespDto();


        return retData;
    }
    //
}
